-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
57 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,52 @@ | ||
#ifndef CHEATDATA_H_ | ||
#define CHEATDATA_H_ | ||
#pragma once | ||
|
||
namespace VBA10 | ||
{ | ||
//[Windows::UI::Xaml::Data::BindableAttribute] | ||
[Windows::UI::Xaml::Data::BindableAttribute] | ||
public ref class CheatData sealed | ||
{ | ||
public: | ||
property Platform::String ^CheatCode; | ||
property Platform::String ^Description; | ||
property bool Enabled; | ||
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; | ||
|
||
}; | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters