Arcade
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
GameAPI.FirmwareBase< TGame, TImplementation > Class Template Reference
Inheritance diagram for GameAPI.FirmwareBase< TGame, TImplementation >:
GameAPI.Peripheral< TGame, TProvider, TImplementation > GameAPI.IFirmware GameAPI.Peripheral GameAPI.BudgetBoy.Firmware

Public Member Functions

bool IsNewHighscore (int score)
 
bool IsNewHighscore (Highscore score)
 
bool AddHighscore (Highscore score)
 
void AddHighscores (IEnumerable< Highscore > scores)
 
bool SubmitHighscore (Highscore score)
 
Highscore GetHighscore (int index)
 Gets the highscore at the specified index. More...
 
void ClearHighscores ()
 Wipes all Highscore entries from the cabinet hosting this game. More...
 
void SendMessage (int port, Stream stream, int length, NetSendMethod sendMethod)
 
IEnumerable< NetMessageReadMessages ()
 
- Public Member Functions inherited from GameAPI.Peripheral< TGame, TProvider, TImplementation >
override void Dispose ()
 

Protected Member Functions

 FirmwareBase ()
 
override void OnDeserializeFrame (Stream stream)
 
override void OnSerializeFrame (Stream stream)
 
- Protected Member Functions inherited from GameAPI.Peripheral< TGame, TProvider, TImplementation >
override void OnInitialize ()
 
virtual void OnAttachImplementation ()
 
- Protected Member Functions inherited from GameAPI.Peripheral
void ClearFrameWriter ()
 
virtual void OnRegisterResourceTypes (ResourceManager library)
 
virtual void OnLoadResources (Resources volume)
 
virtual void OnReset ()
 
virtual void OnDeserializeSetup (Stream stream)
 
virtual void OnSerializeSetup (Stream stream)
 
virtual void OnStartControlling ()
 
virtual void OnStopControlling ()
 
virtual void OnUpdateFrame (double dt)
 
virtual void OnCopyFrame (Stream stream)
 

Properties

virtual int MaxHighscoreCount [get]
 
IEnumerable< HighscoreHighscores [get]
 Gets the set of stored Highscore entries for the cabinet hosting this game. More...
 
int HighscoreCount [get]
 Gets the current number of stored highscores. More...
 
string DefaultHighscoreInitials [get]
 
- Properties inherited from GameAPI.Peripheral< TGame, TProvider, TImplementation >
virtual bool ShouldUpdate [get]
 
- Properties inherited from GameAPI.Peripheral
BinaryWriter FrameWriter [get]
 

Constructor & Destructor Documentation

GameAPI.FirmwareBase< TGame, TImplementation >.FirmwareBase ( )
inlineprotected

Member Function Documentation

bool GameAPI.FirmwareBase< TGame, TImplementation >.AddHighscore ( Highscore  score)
inline
void GameAPI.FirmwareBase< TGame, TImplementation >.AddHighscores ( IEnumerable< Highscore scores)
inline
void GameAPI.FirmwareBase< TGame, TImplementation >.ClearHighscores ( )
inline

Wipes all Highscore entries from the cabinet hosting this game.

Highscore GameAPI.FirmwareBase< TGame, TImplementation >.GetHighscore ( int  index)
inline

Gets the highscore at the specified index.

bool GameAPI.FirmwareBase< TGame, TImplementation >.IsNewHighscore ( int  score)
inline
bool GameAPI.FirmwareBase< TGame, TImplementation >.IsNewHighscore ( Highscore  score)
inline
override void GameAPI.FirmwareBase< TGame, TImplementation >.OnDeserializeFrame ( Stream  stream)
inlineprotectedvirtual

Reimplemented from GameAPI.Peripheral.

override void GameAPI.FirmwareBase< TGame, TImplementation >.OnSerializeFrame ( Stream  stream)
inlineprotectedvirtual

Reimplemented from GameAPI.Peripheral.

IEnumerable<NetMessage> GameAPI.FirmwareBase< TGame, TImplementation >.ReadMessages ( )
inline
void GameAPI.FirmwareBase< TGame, TImplementation >.SendMessage ( int  port,
Stream  stream,
int  length,
NetSendMethod  sendMethod 
)
inline
bool GameAPI.FirmwareBase< TGame, TImplementation >.SubmitHighscore ( Highscore  score)
inline

Property Documentation

string GameAPI.FirmwareBase< TGame, TImplementation >.DefaultHighscoreInitials
get
int GameAPI.FirmwareBase< TGame, TImplementation >.HighscoreCount
get

Gets the current number of stored highscores.

IEnumerable<Highscore> GameAPI.FirmwareBase< TGame, TImplementation >.Highscores
get

Gets the set of stored Highscore entries for the cabinet hosting this game.

virtual int GameAPI.FirmwareBase< TGame, TImplementation >.MaxHighscoreCount
get