C# Class NFrame.NFNetHandler

Inheritance: NFILogicModule
Mostra file Open project: ketoo/NFrame

Public Methods

Method Description
OnRecivePack ( UInt32 nSockIndex, UInt16 nMsgID, string msg, NFINet pNet ) : void
OnSocketEvent ( UInt32 nSockIndex, NFINet eEvent, NFINet pNet ) : void
RegisterEventCallback ( NFINet xEventHandler ) : void
RegisterPackCallback ( int nMsgdID, NFINet xEventHandler ) : void

Method Details

OnRecivePack() public method

public OnRecivePack ( UInt32 nSockIndex, UInt16 nMsgID, string msg, NFINet pNet ) : void
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
pNet NFINet
return void

OnSocketEvent() public method

public OnSocketEvent ( UInt32 nSockIndex, NFINet eEvent, NFINet pNet ) : void
nSockIndex System.UInt32
eEvent NFINet
pNet NFINet
return void

RegisterEventCallback() public method

public RegisterEventCallback ( NFINet xEventHandler ) : void
xEventHandler NFINet
return void

RegisterPackCallback() public method

public RegisterPackCallback ( int nMsgdID, NFINet xEventHandler ) : void
nMsgdID int
xEventHandler NFINet
return void