Photon Server API
Public Types | Static Public Member Functions | List of all members
Photon.MmoDemo.Common.Protocol Class Reference

(De)serialization procedures used in server and client. More...

Public Types

enum  CustomTypeCodes { CustomTypeCodes.Vector = 0, CustomTypeCodes.BoundingBox }
 

Static Public Member Functions

static byte[] SerializeVector (object x)
 
static object DeserializeVector (byte[] data)
 
static byte[] SerializeBoundingBox (object x)
 
static object DeserializeBoundingBox (byte[] data)
 

Detailed Description

(De)serialization procedures used in server and client.

Member Enumeration Documentation

Enumerator
Vector 
BoundingBox 

Member Function Documentation

static object Photon.MmoDemo.Common.Protocol.DeserializeBoundingBox ( byte[]  data)
inlinestatic
static object Photon.MmoDemo.Common.Protocol.DeserializeVector ( byte[]  data)
inlinestatic
static byte [] Photon.MmoDemo.Common.Protocol.SerializeBoundingBox ( object  x)
inlinestatic
static byte [] Photon.MmoDemo.Common.Protocol.SerializeVector ( object  x)
inlinestatic