C# Class hds.WorldPacket

Show file Open project: hdneo/mxo-hd Class Usage Examples

Public Properties

Property Type Description
ObjectMessages List
RPCMessages List
bufferSize System.UInt16
content DynamicArray
isFinal bool
isRPCReset bool
neededAckSSeq System.UInt16
playerData ClientData
timed bool

Public Methods

Method Description
WorldPacket ( ClientData _playerData ) : System
addObjectContent ( SequencedMessage objectMessage ) : bool
addRPCContent ( SequencedMessage rpcMessage ) : bool
checkIfBufferIsFull ( int sizeOfPossibleAddedMessage ) : bool
generateObjectMessageData ( ) : void
generateRpcMessageData ( ) : void
getFinalData ( ClientData playerData ) : byte[]
setFinalContent ( byte content ) : void

Method Details

WorldPacket() public method

public WorldPacket ( ClientData _playerData ) : System
_playerData ClientData
return System

addObjectContent() public method

public addObjectContent ( SequencedMessage objectMessage ) : bool
objectMessage SequencedMessage
return bool

addRPCContent() public method

public addRPCContent ( SequencedMessage rpcMessage ) : bool
rpcMessage SequencedMessage
return bool

checkIfBufferIsFull() public method

public checkIfBufferIsFull ( int sizeOfPossibleAddedMessage ) : bool
sizeOfPossibleAddedMessage int
return bool

generateObjectMessageData() public method

public generateObjectMessageData ( ) : void
return void

generateRpcMessageData() public method

public generateRpcMessageData ( ) : void
return void

getFinalData() public method

public getFinalData ( ClientData playerData ) : byte[]
playerData ClientData
return byte[]

setFinalContent() public method

public setFinalContent ( byte content ) : void
content byte
return void

Property Details

ObjectMessages public property

public List ObjectMessages
return List

RPCMessages public property

public List RPCMessages
return List

bufferSize public property

public UInt16,System bufferSize
return System.UInt16

content public property

public DynamicArray,hds content
return DynamicArray

isFinal public property

public bool isFinal
return bool

isRPCReset public property

public bool isRPCReset
return bool

neededAckSSeq public property

public UInt16,System neededAckSSeq
return System.UInt16

playerData public property

public ClientData,hds playerData
return ClientData

timed public property

public bool timed
return bool