C# Class GameFramework.Room

ファイルを表示 Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Private Properties

Property Type Description
AddNewUser bool
AddObserver bool
ChangeScene void
Deactive void
DeleteUser void
Destroy void
DropObserver void
DropUser void
Finish void
GetActiveRoomUserCount int
GetAiRoomUserCount int
GetMinimizeElapsedDroppedTime long
GetUnusedObserver Observer
GetUserByGuid User
GetUserByRoleID User
Init bool
NoticeRoomClosing void
PickItem void
PickMoney void
RemoveUser void
RemoveUser void
RemoveUserFromRoomThread void
Room System
SendServerMessage void
Tick void

Private Methods

Method Description
AddNewUser ( User newUser ) : bool
AddObserver ( ulong guid, string name, uint key ) : bool
ChangeScene ( int scene_type ) : void
Deactive ( ) : void
DeleteUser ( User user ) : void
Destroy ( ) : void
DropObserver ( Observer observer ) : void
DropUser ( User user ) : void
Finish ( int winnerCampID ) : void
GetActiveRoomUserCount ( ) : int
GetAiRoomUserCount ( ) : int
GetMinimizeElapsedDroppedTime ( ) : long
GetUnusedObserver ( ) : Observer
GetUserByGuid ( ulong guid ) : User
GetUserByRoleID ( int roleId ) : User
Init ( int room_id, int scene_type, UserPool userpool, Connector conn ) : bool
NoticeRoomClosing ( ) : void
PickItem ( User user, int itemId, string model, string particle ) : void
PickMoney ( User user, int money ) : void
RemoveUser ( User user ) : void
RemoveUser ( User user, bool free ) : void
RemoveUserFromRoomThread ( User user, bool free ) : void
Room ( ) : System
SendServerMessage ( object msg ) : void
Tick ( ) : void