Game Framework
GameFramework.Messaging.BaseMessage Class Reference

A base class that should be used and inherited for all messages that we send through the messaging system. More...

Inheritance diagram for GameFramework.Messaging.BaseMessage:
GameFramework.Audio.Messages.BackgroundVolumeChangedMessage GameFramework.Audio.Messages.EffectVolumeChangedMessage GameFramework.Billing.Messages.CharacterPurchasedMessage GameFramework.Billing.Messages.GenericGameItemPurchasedMessage GameFramework.Billing.Messages.ItemPurchasedMessage GameFramework.Billing.Messages.LevelPurchasedMessage GameFramework.Billing.Messages.UnlockGamePurchasedMessage GameFramework.Billing.Messages.WorldPurchasedMessage GameFramework.Facebook.Messages.FacebookAppRequestMessage GameFramework.Facebook.Messages.FacebookConnectingMessage GameFramework.Facebook.Messages.FacebookFriendsUsingAppMessage GameFramework.Facebook.Messages.FacebookHideUnityMessage GameFramework.Facebook.Messages.FacebookLoginMessage GameFramework.Facebook.Messages.FacebookProfilePictureMessage GameFramework.Facebook.Messages.FacebookShareLinkMessage GameFramework.Facebook.Messages.FacebookUserPictureMessage GameFramework.GameStructure.Characters.Messages.CharacterChangedMessage GameFramework.GameStructure.Game.Messages.DeviceOrientationChangedMessage GameFramework.GameStructure.Game.Messages.GameUnlockedMessage GameFramework.GameStructure.Game.Messages.ResolutionChangedMessage GameFramework.GameStructure.GameItems.Messages.CoinsChangedMessage GameFramework.GameStructure.GameItems.Messages.HighScoreChangedMessage GameFramework.GameStructure.GameItems.Messages.ScoreChangedMessage GameFramework.GameStructure.GameItems.Messages.UpdateMessage GameFramework.GameStructure.Levels.Messages.LevelChangedMessage GameFramework.GameStructure.Levels.Messages.LevelCoinsChangedMessage GameFramework.GameStructure.Levels.Messages.LevelEndedMessage GameFramework.GameStructure.Levels.Messages.LevelHighScoreChangedMessage GameFramework.GameStructure.Levels.Messages.LevelPausedMessage GameFramework.GameStructure.Levels.Messages.LevelResumedMessage GameFramework.GameStructure.Levels.Messages.LevelScoreChangedMessage GameFramework.GameStructure.Levels.Messages.LevelStartedMessage GameFramework.GameStructure.Levels.Messages.StarsWonMessage GameFramework.GameStructure.Players.Messages.CustomNameChangedMessage GameFramework.GameStructure.Players.Messages.GameWonMessage GameFramework.GameStructure.Players.Messages.HealthChangedMessage GameFramework.GameStructure.Players.Messages.LivesChangedMessage GameFramework.GameStructure.Players.Messages.PlayerChangedMessage GameFramework.GameStructure.Players.Messages.PlayerCoinsChangedMessage GameFramework.GameStructure.Players.Messages.PlayerHighScoreChangedMessage GameFramework.GameStructure.Players.Messages.PlayerScoreChangedMessage GameFramework.GameStructure.Worlds.Messages.WorldChangedMessage GameFramework.Localisation.Messages.LocalisationChangedMessage GameFramework.Messaging.DummyMessage

Public Types

enum  SendModeType { SendModeType.SendToAll, SendModeType.SendToFirst }
 

Public Member Functions

 BaseMessage ()
 
void DontShowInEditorLog ()
 Hide this message so that it isn't displayed in the editor logs. (Editor only method) More...
 

Public Attributes

string Name
 
SendModeType SendMode
 
bool DontShowInEditorLogInternal
 

Detailed Description

A base class that should be used and inherited for all messages that we send through the messaging system.

Member Enumeration Documentation

Enumerator
SendToAll 
SendToFirst 

Constructor & Destructor Documentation

GameFramework.Messaging.BaseMessage.BaseMessage ( )

Member Function Documentation

void GameFramework.Messaging.BaseMessage.DontShowInEditorLog ( )

Hide this message so that it isn't displayed in the editor logs. (Editor only method)

Use this method rather than setting the property so that it will be easily compiled out in non editor mode.

Member Data Documentation

bool GameFramework.Messaging.BaseMessage.DontShowInEditorLogInternal
string GameFramework.Messaging.BaseMessage.Name
SendModeType GameFramework.Messaging.BaseMessage.SendMode

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