Photon Server API
Public Member Functions | Properties | List of all members
Photon.Hive.Messages.RoomMessage Class Reference

Represents a message for rooms. More...

Inheritance diagram for Photon.Hive.Messages.RoomMessage:
Photon.Hive.Messages.IMessage

Public Member Functions

 RoomMessage (byte action)
 Initializes a new instance of the RoomMessage class. More...
 
 RoomMessage (byte action, object message)
 Initializes a new instance of the RoomMessage class. More...
 

Properties

object Message [get]
 Gets the message. More...
 
byte Action [get]
 Gets the action. More...
 
- Properties inherited from Photon.Hive.Messages.IMessage
byte Action [get]
 Gets the action. More...
 
object Message [get]
 Gets the message. More...
 

Detailed Description

Represents a message for rooms.

Constructor & Destructor Documentation

Photon.Hive.Messages.RoomMessage.RoomMessage ( byte  action)
inline

Initializes a new instance of the RoomMessage class.

Parameters
actionThe action.
Photon.Hive.Messages.RoomMessage.RoomMessage ( byte  action,
object  message 
)
inline

Initializes a new instance of the RoomMessage class.

Parameters
actionThe action.
messageThe message.

Property Documentation

byte Photon.Hive.Messages.RoomMessage.Action
get

Gets the action.

The action.

object Photon.Hive.Messages.RoomMessage.Message
get

Gets the message.

The message.