Game Framework
GameFramework.GameStructure.Players.Messages.PlayerScoreChangedMessage Class Reference

A message that is generated when the player score changes. More...

Inheritance diagram for GameFramework.GameStructure.Players.Messages.PlayerScoreChangedMessage:

Public Member Functions

 PlayerScoreChangedMessage (Player player, int newScore, int oldScore)
override string ToString ()
 Return a representation of the message More...
- Public Member Functions inherited from GameFramework.Messaging.BaseMessage
 BaseMessage ()
void DontShowInEditorLog ()
 Hide this message so that it isn't displayed in the editor logs. (Editor only method) More...

Public Attributes

readonly Player Player
 The Player that this update relates to More...
readonly int NewScore
 The Players new score More...
readonly int OldScore
 The Players new score More...
- Public Attributes inherited from GameFramework.Messaging.BaseMessage
string Name
SendModeType SendMode
bool DontShowInEditorLogInternal

Additional Inherited Members

- Public Types inherited from GameFramework.Messaging.BaseMessage
enum  SendModeType { SendModeType.SendToAll, SendModeType.SendToFirst }

Detailed Description

A message that is generated when the player score changes.

Constructor & Destructor Documentation

GameFramework.GameStructure.Players.Messages.PlayerScoreChangedMessage.PlayerScoreChangedMessage ( Player  player,
int  newScore,
int  oldScore 

Member Function Documentation

override string GameFramework.GameStructure.Players.Messages.PlayerScoreChangedMessage.ToString ( )

Return a representation of the message


Member Data Documentation

readonly int GameFramework.GameStructure.Players.Messages.PlayerScoreChangedMessage.NewScore

The Players new score

readonly int GameFramework.GameStructure.Players.Messages.PlayerScoreChangedMessage.OldScore

The Players new score

readonly Player GameFramework.GameStructure.Players.Messages.PlayerScoreChangedMessage.Player

The Player that this update relates to

The documentation for this class was generated from the following file: