Photon Server API Documentation v5.0RC1

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

◆ RoomMessage() [1/2]

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

Initializes a new instance of the RoomMessage class.

Parameters
actionThe action.

◆ RoomMessage() [2/2]

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

◆ Action

byte Photon.Hive.Messages.RoomMessage.Action
get

Gets the action.

The action.

◆ Message

object Photon.Hive.Messages.RoomMessage.Message
get

Gets the message.

The message.