Game Framework
GameFramework.GameStructure.Game.Messages.ResolutionChangedMessage Class Reference

A message that is generated when the game resolution changes. More...

Inheritance diagram for GameFramework.GameStructure.Game.Messages.ResolutionChangedMessage:

Public Member Functions

 ResolutionChangedMessage (Vector2 oldResolution, Vector2 newResolution)
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 Vector2 OldResolution
 The old resolution More...
readonly Vector2 NewResolution
 The new resolution 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 game resolution changes.

Constructor & Destructor Documentation

GameFramework.GameStructure.Game.Messages.ResolutionChangedMessage.ResolutionChangedMessage ( Vector2  oldResolution,
Vector2  newResolution 

Member Function Documentation

override string GameFramework.GameStructure.Game.Messages.ResolutionChangedMessage.ToString ( )

Return a representation of the message


Member Data Documentation

readonly Vector2 GameFramework.GameStructure.Game.Messages.ResolutionChangedMessage.NewResolution

The new resolution

readonly Vector2 GameFramework.GameStructure.Game.Messages.ResolutionChangedMessage.OldResolution

The old resolution

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