Property | Type | Description | |
---|---|---|---|
Awake | void | ||
CheckValid | bool | ||
Init | void | ||
OnDestroy | void | ||
Update | void |
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 |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
CheckValid ( ) : bool | ||
Init ( ) : void | ||
OnDestroy ( ) : void | ||
Update ( ) : void |
交给Command,这里不想关心发给谁。
|
public static AddEvent ( int _event, ByteBuffer, data ) : void | ||
_event | int | |
data | ByteBuffer, | |
return | void |
public OnSocketData ( int key, ByteBuffer value ) : void | ||
key | int | |
value | ByteBuffer | |
return | void |
public SendMessage ( ByteBuffer buffer ) : void | ||
buffer | ByteBuffer | |
return | void |