C# Class GameFramework.UserThread

Inheritance: MyServerThread
Datei anzeigen Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Private Properties

Property Type Description
AddAssets void
AddFriend void
AddItem void
BuildRoomUserInfo GameFrameworkMessage.Msg_LR_RoomUserInfo
DiscardItem void
GetUserInfo UserInfo
HandleRoomStoryMessage void
MarkBlack void
NotifyAllUser void
NotifyUser void
QueryBigworldUserState void
RemoveFriend void
SendServerMessage void
SendStoryMessage void
SyncItems void
SyncMembers void
SyncRoleInfo void
TryBigworldUserOffline void
UseItem void
UserThread System

Protected Methods

Method Description
OnStart ( ) : void
OnTick ( ) : void

Private Methods

Method Description
AddAssets ( ulong guid, int money, int gold ) : void
AddFriend ( ulong guid, Msg_CL_AddFriend msg ) : void
AddItem ( ulong guid, int itemId, int itemNum ) : void
BuildRoomUserInfo ( UserInfo info, float x, float y ) : Msg_LR_RoomUserInfo
DiscardItem ( ulong guid, Msg_CL_DiscardItem msg ) : void
GetUserInfo ( ulong guid ) : UserInfo
HandleRoomStoryMessage ( Msg_LRL_StoryMessage msg ) : void
MarkBlack ( ulong guid, Msg_CL_MarkBlack msg ) : void
NotifyAllUser ( LobbyMessageDefine id, object msg ) : void
NotifyUser ( ulong guid, LobbyMessageDefine id, object msg ) : void
QueryBigworldUserState ( ulong guid ) : void
RemoveFriend ( ulong guid, Msg_CL_RemoveFriend msg ) : void
SendServerMessage ( object msg ) : void
SendStoryMessage ( string msgId ) : void
SyncItems ( ulong guid ) : void
SyncMembers ( ulong guid ) : void
SyncRoleInfo ( ulong guid ) : void
TryBigworldUserOffline ( ulong guid ) : void
UseItem ( ulong guid, Msg_CL_UseItem msg ) : void
UserThread ( int tickSleepTime, int actionNumPerTick ) : System

Method Details

OnStart() protected method

protected OnStart ( ) : void
return void

OnTick() protected method

protected OnTick ( ) : void
return void