C# Class NetworkManager, UnityHello

Inheritance: MonoBehaviour
Afficher le fichier Open project: woshihuo12/UnityHello Class Usage Examples

Private Properties

Свойство Type Description
Awake void
CheckValid bool
Init void
OnDestroy void
Update void

Méthodes publiques

Méthode 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

Méthode Description
Awake ( ) : void
CheckValid ( ) : bool
Init ( ) : void
OnDestroy ( ) : void
Update ( ) : void

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

Method Details

AddEvent() public static méthode

public static AddEvent ( int _event, ByteBuffer, data ) : void
_event int
data ByteBuffer,
Résultat void

OnInit() public méthode

public OnInit ( ) : void
Résultat void

OnSocketData() public méthode

public OnSocketData ( int key, ByteBuffer value ) : void
key int
value ByteBuffer
Résultat void

OnUnLoad() public méthode

public OnUnLoad ( ) : void
Résultat void

SendConnect() public méthode

public SendConnect ( ) : void
Résultat void

SendMessage() public méthode

public SendMessage ( ByteBuffer buffer ) : void
buffer ByteBuffer
Résultat void

SetLuaTable() public méthode

public SetLuaTable ( LuaTable tb ) : void
tb LuaTable
Résultat void