C# Class GameFramework.RoomManager

ע��������internal��������Ӧ���ǿ��̵߳����Ƿ�ȫ������
显示文件 Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Private Methods

Method Description
AddActiveRoom ( int roomid, int roomthreadindex, bool isFieldScene ) : void
AddFieldSceneRoomId ( int sceneId, int roomId ) : void
ChangeRoomScene ( int roomid, int sceneId ) : void
GetActiveRoomThreadIndex ( int roomid, bool &isFieldThread ) : int
GetIdleRoomCount ( ) : int
GetIdleThread ( ) : int
GetUserCount ( ) : int
HandleActiveScene ( Msg_LR_ActiveScene msg, PBChannel channel, int handle, uint seq ) : void
HandleChangeScene ( Msg_LR_ChangeScene msg, PBChannel channel, int handle, uint seq ) : void
HandleEnterScene ( Msg_LR_EnterScene msg, PBChannel channel, int handle, uint seq ) : void
HandleReclaimItem ( Msg_LR_ReclaimItem msg, PBChannel channel, int handle, uint seq ) : void
HandleReconnectUser ( Msg_LR_ReconnectUser urMsg, PBChannel channel, int handle, uint seq ) : void
HandleRoomStoryMessage ( Msg_LRL_StoryMessage msg, PBChannel channel, int handle, uint seq ) : void
HandleUserQuit ( Msg_LR_UserQuit msg, PBChannel channel, int handle, uint seq ) : void
HandleUserRelive ( Msg_LR_UserReLive msg, PBChannel channel, int handle, uint seq ) : void
Init ( string roomServerName ) : bool
PlayerGotoRoom ( User user, int roomId, int targetRoomId ) : void
PlayerRequestActiveRoom ( int targetSceneId ) : void
PlayerRequestChangeRoom ( int targetSceneId ) : void
RegisterMsgHandler ( PBChannel channel ) : void
RemoveActiveRoom ( int roomid ) : void
RoomManager ( uint maxusernum, uint thread_amount, uint room_amount ) : System
RoomManager ( uint maxusernum, uint thread_amount, uint room_amount, uint tick_interval, Connector conn ) : System
StartRoomThread ( ) : void
StopRoomThread ( ) : void