C# Class NetworkManager, UnityHello

Inheritance: MonoBehaviour
ファイルを表示 Open project: woshihuo12/UnityHello Class Usage Examples

Private Properties

Property Type Description
Awake void
CheckValid bool
Init void
OnDestroy void
Update void

Public Methods

Method Description
AddEvent ( int _event, ByteBuffer, data ) : void
OnInit ( ) : void
OnSocketData ( int key, ByteBuffer value ) : void
OnUnLoad ( ) : void
SendConnect ( ) : void
SendMessage ( ByteBuffer buffer ) : void
SetLuaTable ( LuaTable tb ) : void

Private Methods

Method Description
Awake ( ) : void
CheckValid ( ) : bool
Init ( ) : void
OnDestroy ( ) : void
Update ( ) : void

交给Command,这里不想关心发给谁。

Method Details

AddEvent() public static method

public static AddEvent ( int _event, ByteBuffer, data ) : void
_event int
data ByteBuffer,
return void

OnInit() public method

public OnInit ( ) : void
return void

OnSocketData() public method

public OnSocketData ( int key, ByteBuffer value ) : void
key int
value ByteBuffer
return void

OnUnLoad() public method

public OnUnLoad ( ) : void
return void

SendConnect() public method

public SendConnect ( ) : void
return void

SendMessage() public method

public SendMessage ( ByteBuffer buffer ) : void
buffer ByteBuffer
return void

SetLuaTable() public method

public SetLuaTable ( LuaTable tb ) : void
tb LuaTable
return void