mirror of
https://github.com/izzy2lost/vba10.git
synced 2026-03-26 18:15:30 -07:00
39 lines
1.3 KiB
C++
39 lines
1.3 KiB
C++
#include "Database\ROMDBEntry.h"
|
|
#include "Definitions.h"
|
|
|
|
|
|
|
|
using namespace Windows::Foundation;
|
|
using namespace Windows::Foundation::Collections;
|
|
using namespace Platform;
|
|
using namespace Platform::Collections;
|
|
|
|
namespace VBA10
|
|
{
|
|
ROMDBEntry::ROMDBEntry(int locationtype, Platform::String^ displayname, Platform::String^ filename, Platform::String^ folderpath,
|
|
Platform::String^ token, Platform::String^ snapshoturi)
|
|
:_locationType(locationtype), _displayName(displayname), _fileName(filename), _folderPath(folderpath),
|
|
_token(token), _snapshotUri(snapshoturi)
|
|
{
|
|
_lastPlayed = DateTime{ 0 };
|
|
_lastSaveIndex = 0;
|
|
_autoSaveIndex = 0;
|
|
_snapshot = nullptr;
|
|
AutoLoadLastState = true; //default to true except when import save
|
|
|
|
|
|
}
|
|
|
|
ROMDBEntry::ROMDBEntry(int locationtype, Platform::String^ displayname, Platform::String^ filename, Platform::String^ folderpath,
|
|
Platform::String^ token, DateTime lastplayed, int lastsaveindex, int autosaveindex, Platform::String^ snapshoturi)
|
|
:_locationType(locationtype), _displayName(displayname), _fileName(filename), _folderPath(folderpath),
|
|
_token(token), _lastPlayed(lastplayed), _lastSaveIndex(lastsaveindex), _autoSaveIndex(autosaveindex), _snapshotUri(snapshoturi)
|
|
{
|
|
|
|
_snapshot = nullptr;
|
|
AutoLoadLastState = true;
|
|
}
|
|
|
|
|
|
|
|
} |