mirror of
https://github.com/izzy2lost/vba10.git
synced 2026-03-26 18:15:30 -07:00
53 lines
778 B
C++
53 lines
778 B
C++
#pragma once
|
|
|
|
namespace VBA10
|
|
{
|
|
[Windows::UI::Xaml::Data::BindableAttribute]
|
|
public ref class CheatData sealed
|
|
{
|
|
public:
|
|
property Platform::String^ CheatCode
|
|
{
|
|
Platform::String^ get()
|
|
{
|
|
return _cheatcode;
|
|
}
|
|
void set(Platform::String^ value)
|
|
{
|
|
_cheatcode = value;
|
|
}
|
|
}
|
|
|
|
property Platform::String^ Description
|
|
{
|
|
Platform::String^ get()
|
|
{
|
|
return _description;
|
|
}
|
|
void set(Platform::String^ value)
|
|
{
|
|
_description = value;
|
|
}
|
|
}
|
|
|
|
property bool Enabled
|
|
{
|
|
bool get()
|
|
{
|
|
return _enabled;
|
|
}
|
|
void set(bool value)
|
|
{
|
|
_enabled = value;
|
|
}
|
|
}
|
|
|
|
private:
|
|
Platform::String ^ _cheatcode;
|
|
Platform::String ^ _description;
|
|
bool _enabled;
|
|
|
|
};
|
|
}
|
|
|