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

A message that is generated when the device orientation changes. More...

Inheritance diagram for GameFramework.GameStructure.Game.Messages.DeviceOrientationChangedMessage:
GameFramework.Messaging.BaseMessage

Public Member Functions

 DeviceOrientationChangedMessage (DeviceOrientation oldDeviceOrientation, DeviceOrientation newDeviceOrientation)
 
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 DeviceOrientation OldDeviceOrientation
 The old DeviceOrientation More...
 
readonly DeviceOrientation NewDeviceOrientation
 The new DeviceOrientation 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 device orientation changes.

Constructor & Destructor Documentation

GameFramework.GameStructure.Game.Messages.DeviceOrientationChangedMessage.DeviceOrientationChangedMessage ( DeviceOrientation  oldDeviceOrientation,
DeviceOrientation  newDeviceOrientation 
)

Member Function Documentation

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

Return a representation of the message

Returns

Member Data Documentation

readonly DeviceOrientation GameFramework.GameStructure.Game.Messages.DeviceOrientationChangedMessage.NewDeviceOrientation

The new DeviceOrientation

readonly DeviceOrientation GameFramework.GameStructure.Game.Messages.DeviceOrientationChangedMessage.OldDeviceOrientation

The old DeviceOrientation


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