C# Class NFrame.NFCProxyServerNet_ServerModule

Inheritance: NFIProxyServerNet_ServerModule
Show file Open project: ketoo/NFrame

Protected Properties

Property Type Description
mxClientIdent int>.Dictionary
mxElementInfoModule NFIElementModule
mxEventProcessModule NFIEventModule
mxKernelModule NFIKernelModule
mxLogicClassModule NFILogicClassModule
mxProxyToGameModule NFIProxyToGameModule
mxProxyToWorldModule NFIProxyToWorldModule

Public Methods

Method Description
AfterInit ( ) : void
EnterGameSuccessEvent ( NFGUID xClientID, NFGUID xPlayerID ) : int
Execute ( ) : void
Init ( ) : void
Shut ( ) : void
Transpond ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int

Protected Methods

Method Description
HB_OnConnectCheckTime ( NFGUID self, string strHeartBeat, float fTime, int nCount, NFIDataList var ) : int
OnClientConnected ( int nAddress ) : void
OnClientDissconnect ( int nAddress ) : void
OnConnectKeyProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
OnReciveClientPack ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
OnReqCreateRoleProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
OnReqDelRoleProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
OnReqEnterGameServer ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
OnReqRoleListProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
OnReqServerListProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
OnSelectServerProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
OnSocketClientEvent ( int nSockIndex, NFINet eEvent, NFINet pNet ) : int

Method Details

AfterInit() public method

public AfterInit ( ) : void
return void

EnterGameSuccessEvent() public method

public EnterGameSuccessEvent ( NFGUID xClientID, NFGUID xPlayerID ) : int
xClientID NFGUID
xPlayerID NFGUID
return int

Execute() public method

public Execute ( ) : void
return void

HB_OnConnectCheckTime() protected method

protected HB_OnConnectCheckTime ( NFGUID self, string strHeartBeat, float fTime, int nCount, NFIDataList var ) : int
self NFGUID
strHeartBeat string
fTime float
nCount int
var NFIDataList
return int

Init() public method

public Init ( ) : void
return void

OnClientConnected() protected method

protected OnClientConnected ( int nAddress ) : void
nAddress int
return void

OnClientDissconnect() protected method

protected OnClientDissconnect ( int nAddress ) : void
nAddress int
return void

OnConnectKeyProcess() protected method

protected OnConnectKeyProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
return int

OnReciveClientPack() protected method

protected OnReciveClientPack ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
return int

OnReqCreateRoleProcess() protected method

protected OnReqCreateRoleProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
return int

OnReqDelRoleProcess() protected method

protected OnReqDelRoleProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
return int

OnReqEnterGameServer() protected method

protected OnReqEnterGameServer ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
return int

OnReqRoleListProcess() protected method

protected OnReqRoleListProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
return int

OnReqServerListProcess() protected method

protected OnReqServerListProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
return int

OnSelectServerProcess() protected method

protected OnSelectServerProcess ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
return int

OnSocketClientEvent() protected method

protected OnSocketClientEvent ( int nSockIndex, NFINet eEvent, NFINet pNet ) : int
nSockIndex int
eEvent NFINet
pNet NFINet
return int

Shut() public method

public Shut ( ) : void
return void

Transpond() public method

public Transpond ( UInt32 nSockIndex, UInt16 nMsgID, string msg ) : int
nSockIndex System.UInt32
nMsgID System.UInt16
msg string
return int

Property Details

mxClientIdent protected property

protected Dictionary mxClientIdent
return int>.Dictionary

mxElementInfoModule protected property

protected NFIElementModule,NFrame mxElementInfoModule
return NFIElementModule

mxEventProcessModule protected property

protected NFIEventModule,NFrame mxEventProcessModule
return NFIEventModule

mxKernelModule protected property

protected NFIKernelModule,NFrame mxKernelModule
return NFIKernelModule

mxLogicClassModule protected property

protected NFILogicClassModule,NFrame mxLogicClassModule
return NFILogicClassModule

mxProxyToGameModule protected property

protected NFIProxyToGameModule mxProxyToGameModule
return NFIProxyToGameModule

mxProxyToWorldModule protected property

protected NFIProxyToWorldModule mxProxyToWorldModule
return NFIProxyToWorldModule