Documentation ¶
Index ¶
- type IItemDef
- type IPlayerDef
- type ItemDef
- func (p *ItemDef) Getbaseid() uint32
- func (p *ItemDef) Getnum() uint32
- func (p *ItemDef) Getreducedam() uint32
- func (p *ItemDef) SetPropsSetter(ip iserver.IEntityProps)
- func (p *ItemDef) Setbaseid(v uint32)
- func (p *ItemDef) SetbaseidDirty()
- func (p *ItemDef) Setnum(v uint32)
- func (p *ItemDef) SetnumDirty()
- func (p *ItemDef) Setreducedam(v uint32)
- func (p *ItemDef) SetreducedamDirty()
- type PlayerDef
- func (p *PlayerDef) GetAccessToken() string
- func (p *PlayerDef) GetAttack() uint32
- func (p *PlayerDef) GetCoin() uint64
- func (p *PlayerDef) GetDefence() uint32
- func (p *PlayerDef) GetFriendsNum() uint32
- func (p *PlayerDef) GetGameEnter() string
- func (p *PlayerDef) GetGender() string
- func (p *PlayerDef) GetHP() uint32
- func (p *PlayerDef) GetLevel() uint32
- func (p *PlayerDef) GetLoginTime() int64
- func (p *PlayerDef) GetLogoutTime() int64
- func (p *PlayerDef) GetMaxHP() uint32
- func (p *PlayerDef) GetName() string
- func (p *PlayerDef) GetNickName() string
- func (p *PlayerDef) GetOnlineTime() int64
- func (p *PlayerDef) GetPicture() string
- func (p *PlayerDef) GetPlayerLogin() *protoMsg.PlayerLogin
- func (p *PlayerDef) GetQQVIP() uint8
- func (p *PlayerDef) GetRoleModel() uint32
- func (p *PlayerDef) GetState() uint32
- func (p *PlayerDef) GetTodayOnlineTime() int64
- func (p *PlayerDef) SetAccessToken(v string)
- func (p *PlayerDef) SetAccessTokenDirty()
- func (p *PlayerDef) SetAttack(v uint32)
- func (p *PlayerDef) SetAttackDirty()
- func (p *PlayerDef) SetCoin(v uint64)
- func (p *PlayerDef) SetCoinDirty()
- func (p *PlayerDef) SetDefence(v uint32)
- func (p *PlayerDef) SetDefenceDirty()
- func (p *PlayerDef) SetFriendsNum(v uint32)
- func (p *PlayerDef) SetFriendsNumDirty()
- func (p *PlayerDef) SetGameEnter(v string)
- func (p *PlayerDef) SetGameEnterDirty()
- func (p *PlayerDef) SetGender(v string)
- func (p *PlayerDef) SetGenderDirty()
- func (p *PlayerDef) SetHP(v uint32)
- func (p *PlayerDef) SetHPDirty()
- func (p *PlayerDef) SetLevel(v uint32)
- func (p *PlayerDef) SetLevelDirty()
- func (p *PlayerDef) SetLoginTime(v int64)
- func (p *PlayerDef) SetLoginTimeDirty()
- func (p *PlayerDef) SetLogoutTime(v int64)
- func (p *PlayerDef) SetLogoutTimeDirty()
- func (p *PlayerDef) SetMaxHP(v uint32)
- func (p *PlayerDef) SetMaxHPDirty()
- func (p *PlayerDef) SetName(v string)
- func (p *PlayerDef) SetNameDirty()
- func (p *PlayerDef) SetNickName(v string)
- func (p *PlayerDef) SetNickNameDirty()
- func (p *PlayerDef) SetOnlineTime(v int64)
- func (p *PlayerDef) SetOnlineTimeDirty()
- func (p *PlayerDef) SetPicture(v string)
- func (p *PlayerDef) SetPictureDirty()
- func (p *PlayerDef) SetPlayerLogin(v *protoMsg.PlayerLogin)
- func (p *PlayerDef) SetPlayerLoginDirty()
- func (p *PlayerDef) SetPropsSetter(ip iserver.IEntityProps)
- func (p *PlayerDef) SetQQVIP(v uint8)
- func (p *PlayerDef) SetQQVIPDirty()
- func (p *PlayerDef) SetRoleModel(v uint32)
- func (p *PlayerDef) SetRoleModelDirty()
- func (p *PlayerDef) SetState(v uint32)
- func (p *PlayerDef) SetStateDirty()
- func (p *PlayerDef) SetTodayOnlineTime(v int64)
- func (p *PlayerDef) SetTodayOnlineTimeDirty()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPlayerDef ¶
type IPlayerDef interface { SetAccessToken(v string) SetAccessTokenDirty() GetAccessToken() string SetAttack(v uint32) SetAttackDirty() GetAttack() uint32 SetCoin(v uint64) SetCoinDirty() GetCoin() uint64 SetDefence(v uint32) SetDefenceDirty() GetDefence() uint32 SetFriendsNum(v uint32) SetFriendsNumDirty() GetFriendsNum() uint32 SetGameEnter(v string) SetGameEnterDirty() GetGameEnter() string SetGender(v string) SetGenderDirty() GetGender() string SetHP(v uint32) SetHPDirty() GetHP() uint32 SetLevel(v uint32) SetLevelDirty() GetLevel() uint32 SetLoginTime(v int64) SetLoginTimeDirty() GetLoginTime() int64 SetLogoutTime(v int64) SetLogoutTimeDirty() GetLogoutTime() int64 SetMaxHP(v uint32) SetMaxHPDirty() GetMaxHP() uint32 SetName(v string) SetNameDirty() GetName() string SetNickName(v string) SetNickNameDirty() GetNickName() string SetOnlineTime(v int64) SetOnlineTimeDirty() GetOnlineTime() int64 SetPicture(v string) SetPictureDirty() GetPicture() string SetPlayerLogin(v *protoMsg.PlayerLogin) SetPlayerLoginDirty() GetPlayerLogin() *protoMsg.PlayerLogin SetQQVIP(v uint8) SetQQVIPDirty() GetQQVIP() uint8 SetRoleModel(v uint32) SetRoleModelDirty() GetRoleModel() uint32 SetState(v uint32) SetStateDirty() GetState() uint32 SetTodayOnlineTime(v int64) SetTodayOnlineTimeDirty() GetTodayOnlineTime() int64 }
type ItemDef ¶
type ItemDef struct {
// contains filtered or unexported fields
}
ItemDef 自动生成的属性包装代码
func (*ItemDef) SetPropsSetter ¶
func (p *ItemDef) SetPropsSetter(ip iserver.IEntityProps)
SetPropsSetter 设置接口
func (*ItemDef) SetreducedamDirty ¶
func (p *ItemDef) SetreducedamDirty()
SetreducedamDirty 设置reducedam被修改
type PlayerDef ¶
type PlayerDef struct {
// contains filtered or unexported fields
}
PlayerDef 自动生成的属性包装代码
func (*PlayerDef) GetAccessToken ¶
GetAccessToken 获取 AccessToken
func (*PlayerDef) GetFriendsNum ¶
GetFriendsNum 获取 FriendsNum
func (*PlayerDef) GetGameEnter ¶
GetGameEnter 获取 GameEnter
func (*PlayerDef) GetLogoutTime ¶
GetLogoutTime 获取 LogoutTime
func (*PlayerDef) GetOnlineTime ¶
GetOnlineTime 获取 OnlineTime
func (*PlayerDef) GetPlayerLogin ¶
func (p *PlayerDef) GetPlayerLogin() *protoMsg.PlayerLogin
GetPlayerLogin 获取 PlayerLogin
func (*PlayerDef) GetRoleModel ¶
GetRoleModel 获取 RoleModel
func (*PlayerDef) GetTodayOnlineTime ¶
GetTodayOnlineTime 获取 TodayOnlineTime
func (*PlayerDef) SetAccessToken ¶
SetAccessToken 设置 AccessToken
func (*PlayerDef) SetAccessTokenDirty ¶
func (p *PlayerDef) SetAccessTokenDirty()
SetAccessTokenDirty 设置AccessToken被修改
func (*PlayerDef) SetDefenceDirty ¶
func (p *PlayerDef) SetDefenceDirty()
SetDefenceDirty 设置Defence被修改
func (*PlayerDef) SetFriendsNum ¶
SetFriendsNum 设置 FriendsNum
func (*PlayerDef) SetFriendsNumDirty ¶
func (p *PlayerDef) SetFriendsNumDirty()
SetFriendsNumDirty 设置FriendsNum被修改
func (*PlayerDef) SetGameEnter ¶
SetGameEnter 设置 GameEnter
func (*PlayerDef) SetGameEnterDirty ¶
func (p *PlayerDef) SetGameEnterDirty()
SetGameEnterDirty 设置GameEnter被修改
func (*PlayerDef) SetLoginTime ¶
SetLoginTime 设置 LoginTime
func (*PlayerDef) SetLoginTimeDirty ¶
func (p *PlayerDef) SetLoginTimeDirty()
SetLoginTimeDirty 设置LoginTime被修改
func (*PlayerDef) SetLogoutTime ¶
SetLogoutTime 设置 LogoutTime
func (*PlayerDef) SetLogoutTimeDirty ¶
func (p *PlayerDef) SetLogoutTimeDirty()
SetLogoutTimeDirty 设置LogoutTime被修改
func (*PlayerDef) SetNickNameDirty ¶
func (p *PlayerDef) SetNickNameDirty()
SetNickNameDirty 设置NickName被修改
func (*PlayerDef) SetOnlineTime ¶
SetOnlineTime 设置 OnlineTime
func (*PlayerDef) SetOnlineTimeDirty ¶
func (p *PlayerDef) SetOnlineTimeDirty()
SetOnlineTimeDirty 设置OnlineTime被修改
func (*PlayerDef) SetPictureDirty ¶
func (p *PlayerDef) SetPictureDirty()
SetPictureDirty 设置Picture被修改
func (*PlayerDef) SetPlayerLogin ¶
func (p *PlayerDef) SetPlayerLogin(v *protoMsg.PlayerLogin)
SetPlayerLogin 设置 PlayerLogin
func (*PlayerDef) SetPlayerLoginDirty ¶
func (p *PlayerDef) SetPlayerLoginDirty()
SetPlayerLoginDirty 设置PlayerLogin被修改
func (*PlayerDef) SetPropsSetter ¶
func (p *PlayerDef) SetPropsSetter(ip iserver.IEntityProps)
SetPropsSetter 设置接口
func (*PlayerDef) SetRoleModel ¶
SetRoleModel 设置 RoleModel
func (*PlayerDef) SetRoleModelDirty ¶
func (p *PlayerDef) SetRoleModelDirty()
SetRoleModelDirty 设置RoleModel被修改
func (*PlayerDef) SetTodayOnlineTime ¶
SetTodayOnlineTime 设置 TodayOnlineTime
func (*PlayerDef) SetTodayOnlineTimeDirty ¶
func (p *PlayerDef) SetTodayOnlineTimeDirty()
SetTodayOnlineTimeDirty 设置TodayOnlineTime被修改