Documentation
¶
Overview ¶
*********************************************************
- Author : Michael
- Email : dolotech@163.com
- Last modified : 2016-01-23 10:43
- Filename : iconn.go
- Description : 每个玩家socket连接的对象接口
- ******************************************************
*********************************************************
- Author : Michael
- Email : dolotech@163.com
- Last modified : 2016-01-23 11:01
- Filename : iuser.go
- Description : 玩家自己的详细数据接口
- ******************************************************
*********************************************************
- Author : Michael
- Email : dolotech@163.com
- Last modified : 2016-06-11 16:27
- Filename : interface.go
- Description : 零散的接口
- ******************************************************
*********************************************************
- Author : Michael
- Email : dolotech@163.com
- Last modified : 2016-01-23 10:42
- Filename : iroom.go
- Description : 房间的数据接口
- ******************************************************
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDesk ¶
type IDesk interface { Discard(uint32, byte, bool) int32 Operate(uint32, int64, uint32) int32 Readying(uint32, bool) int32 Enter(IPlayer) int32 Vote(bool, uint32, uint32) int32 Broadcasts(IProto) Closed(bool) SetCheat([][]byte, []byte, byte) MaiZi(seat, count uint32) int32 Offline(uint32, bool) ToString() string }
type IPlayer ¶
type IPlayer interface { GetUserid() string GetSeat() uint32 GetNickname() string GetPhone() string SetUserid(string) SetNickname(string) SetSex(uint32) SetPwd(string) SetReady(bool) GetReady() bool SetLongitudeLatitude(longitude, latitude float32) ConverDataUser() *protocol.UserData ConverProtoUser() *protocol.ProtoUser GetInviteCode() string // 私人局邀请码 GetRoomType() uint32 // 房间类型ID,对应房间表 GetRoomID() uint32 // 比赛场或金币场房间id // 分别为:房间类型ID,房间号,房间邀请码 SetRoom(uint32, uint32, string) ClearRoom() GetPlatform() uint32 SetConn(IConn) GetConn() IConn Send(IProto) GetRoomCard() uint32 SetRoomCard(uint32) GetBuild() string SetBuild(string) UserSave() }
Click to show internal directories.
Click to hide internal directories.