Photon Server API Documentation v5.0RC1

Classes | Enumerations
Photon.SocketServer.Rpc.Protocols.GpBinaryV18 Namespace Reference

Classes

class  GpBinaryByteReaderV18
 
class  GpBinaryByteWriterV18
 
class  GpBinaryProtocolV18
 The GpBinary implementation of IRpcProtocol.
 

Enumerations

enum  GpTypeV18 : byte {
  GpTypeV18.Unknown = 0, GpTypeV18.Boolean = 2, GpTypeV18.Byte = 3, GpTypeV18.Short = 4,
  GpTypeV18.Float = 5, GpTypeV18.Double = 6, GpTypeV18.String = 7, GpTypeV18.Null = 8,
  GpTypeV18.CompressedInt = 9, GpTypeV18.CompressedLong = 10, GpTypeV18.Int1 = 11, GpTypeV18.Int1_ = 12,
  GpTypeV18.Int2 = 13, GpTypeV18.Int2_ = 14, GpTypeV18.L1 = 15, GpTypeV18.L1_ = 16,
  GpTypeV18.L2 = 17, GpTypeV18.L2_ = 18, GpTypeV18.Custom = 19, GpTypeV18.Dictionary = 20,
  GpTypeV18.Hashtable = 21, GpTypeV18.ObjectArray = 23, GpTypeV18.OperationRequest = 24, GpTypeV18.OperationResponse = 25,
  GpTypeV18.EventData = 26, GpTypeV18.BooleanFalse = 27, GpTypeV18.BooleanTrue = 28, GpTypeV18.ShortZero = 29,
  GpTypeV18.IntZero = 30, GpTypeV18.LongZero = 31, GpTypeV18.FloatZero = 32, GpTypeV18.DoubleZero = 33,
  GpTypeV18.ByteZero = 34, GpTypeV18.Array = 0x40, GpTypeV18.BooleanArray = Boolean | Array, GpTypeV18.ByteArray = Byte | Array,
  GpTypeV18.ShortArray = Short | Array, GpTypeV18.DoubleArray = Double | Array, GpTypeV18.FloatArray = Float | Array, GpTypeV18.StringArray = String | Array,
  GpTypeV18.HashtableArray = Hashtable | Array, GpTypeV18.DictionaryArray = Dictionary | Array, GpTypeV18.CustomTypeArray = Custom | Array, GpTypeV18.CompressedIntArray = CompressedInt | Array,
  GpTypeV18.CompressedLongArray = CompressedLong | Array, GpTypeV18.CustomTypeSlim = 0x80
}
 The gp type. More...
 

Enumeration Type Documentation

◆ GpTypeV18

The gp type.

Enumerator
Unknown 

Unkown type.

Boolean 

A boolean Value.

Byte 

A byte value.

Short 

A 16-bit integer value.

Float 

A 32-bit floating-point value.

This type is new in version 1.5.

Double 

A 64-bit floating-point value.

This type is new in version 1.5.

String 

A string value.

Null 

Null value don't have types.

CompressedInt 
CompressedLong 
Int1 

Positive value of int fitting 1 byte

Int1_ 

Negative value of int fitting 1 byte

Int2 

Positive value of int fitting 2 bytes

Int2_ 

Negative value of int fitting 2 bytes

L1 

Positive value of long fitting 1 byte

L1_ 

Negative value of long fitting 1 bytes

L2 

Positive value of long fitting 2 bytes

L2_ 

Negative value of long fitting 2 bytes

Custom 

A custom type

Dictionary 

A dictionary

Hashtable 

A Hashtable.

ObjectArray 
OperationRequest 
OperationResponse 
EventData 
BooleanFalse 
BooleanTrue 
ShortZero 
IntZero 
LongZero 
FloatZero 
DoubleZero 
ByteZero 
Array 

An array of objects///

BooleanArray 
ByteArray 
ShortArray 
DoubleArray 
FloatArray 
StringArray 
HashtableArray 
DictionaryArray 
CustomTypeArray 
CompressedIntArray 
CompressedLongArray 
CustomTypeSlim