C# Class GameFramework.RoomThread

ע��������internal��������Ӧ���ǿ��̵߳����Ƿ�ȫ������
Inheritance: MyServerThread
Afficher le fichier Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Méthodes protégées

Méthode Description
OnQuit ( ) : void
OnStart ( ) : void
OnTick ( ) : void

Private Methods

Méthode Description
ActiveFieldRoom ( int roomid, int sceneId ) : void
ActiveRoom ( int roomid, int sceneId, MyAction callbackOnFinish ) : void
AddUser ( IList users, int roomId, MyAction callbackOnFinish ) : void
AddUser ( User user, int roomId, MyAction callbackOnFinish ) : void
ChangeRoomScene ( int roomid, int sceneId, MyAction callbackOnFinish ) : void
DoTick ( ) : void
GetRoomByID ( int roomid ) : Room
GetUserByGuid ( ulong guid ) : User
HandleReclaimItem ( Msg_LR_ReclaimItem msg, PBChannel channel ) : void
HandleReconnectUser ( Msg_LR_ReconnectUser urMsg, PBChannel channel, int handle, uint seq ) : void
HandleRoomStoryMessage ( Msg_LRL_StoryMessage msg, PBChannel channel ) : void
HandleUserQuit ( Msg_LR_UserQuit msg, PBChannel channel ) : void
HandleUserRelive ( Msg_LR_UserReLive msg ) : void
IdleRoomCount ( ) : int
Init ( uint tick_interval, uint room_count, UserPool userpool, Connector conn ) : bool
PreActiveRoom ( ) : void
RemoveUser ( IList guids, int roomId, bool free, MyAction callbackOnFinish ) : void
RemoveUser ( ulong guid, int roomId, bool free, MyAction callbackOnFinish ) : void
RemoveUserForChangeScene ( Room room, User user, ulong userGuid, int roomId, int targetRoomId, PBChannel channel, int handle, uint seq ) : void
ReplaceDroppedUser ( ulong guid, ulong replacer, uint key ) : bool
RoomThread ( RoomManager roomMgr ) : System

Method Details

OnQuit() protected méthode

protected OnQuit ( ) : void
Résultat void

OnStart() protected méthode

protected OnStart ( ) : void
Résultat void

OnTick() protected méthode

protected OnTick ( ) : void
Résultat void