C# Class hds.WorldPacket

显示文件 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_oe property

public List ObjectMessages
return List

RPCMessages public_oe property

public List RPCMessages
return List

bufferSize public_oe property

public UInt16,System bufferSize
return System.UInt16

content public_oe property

public DynamicArray,hds content
return DynamicArray

isFinal public_oe property

public bool isFinal
return bool

isRPCReset public_oe property

public bool isRPCReset
return bool

neededAckSSeq public_oe property

public UInt16,System neededAckSSeq
return System.UInt16

playerData public_oe property

public ClientData,hds playerData
return ClientData

timed public_oe property

public bool timed
return bool