Photon Server API
Public Member Functions | Properties | List of all members
ExitGames.Tests.Messaging.TestMessage Struct Reference

test message. More...

Inheritance diagram for ExitGames.Tests.Messaging.TestMessage:
ExitGames.Messaging.Channels.IMessageSerializer< TestMessage >

Public Member Functions

 TestMessage (string text)
 Initializes a new instance of the TestMessage struct. More...
 
TestMessage Deserialize (byte[] bytes)
 deserialize. More...
 
byte[] Serialize (TestMessage message)
 serialize. More...
 
- Public Member Functions inherited from ExitGames.Messaging.Channels.IMessageSerializer< TestMessage >
Deserialize (byte[] bytes)
 Deserializes a message. More...
 
byte[] Serialize (T message)
 Serialize a message. More...
 

Properties

string Text [get, set]
 Gets or sets Text. More...
 

Detailed Description

test message.

Constructor & Destructor Documentation

ExitGames.Tests.Messaging.TestMessage.TestMessage ( string  text)
inline

Initializes a new instance of the TestMessage struct.

Parameters
textThe text.

Member Function Documentation

TestMessage ExitGames.Tests.Messaging.TestMessage.Deserialize ( byte[]  bytes)
inline

deserialize.

Parameters
bytesThe bytes.
Returns
byte [] ExitGames.Tests.Messaging.TestMessage.Serialize ( TestMessage  message)
inline

serialize.

Parameters
messageThe message.
Returns

Property Documentation

string ExitGames.Tests.Messaging.TestMessage.Text
getset

Gets or sets Text.