C# Class Network.UserManager

Inheritance: IPacketManager
显示文件 Open project: osROSE/UnityRose

Public Methods

Method Description
Convert ( int operation, string packet ) : object
UserManager ( ) : System
handlePacket ( int operation, string packet ) : void
registerCallback ( UserOperation operation, Action callback ) : void
registerCallback ( int operation, Action callback ) : void

Method Details

Convert() public method

public Convert ( int operation, string packet ) : object
operation int
packet string
return object

UserManager() public method

public UserManager ( ) : System
return System

handlePacket() public method

public handlePacket ( int operation, string packet ) : void
operation int
packet string
return void

registerCallback() public method

public registerCallback ( UserOperation operation, Action callback ) : void
operation UserOperation
callback Action
return void

registerCallback() public method

public registerCallback ( int operation, Action callback ) : void
operation int
callback Action
return void