1
This commit is contained in:
parent
fcdeb03d01
commit
9a2930cec4
@ -149,7 +149,6 @@ type Player interface {
|
|||||||
SetSortIdx(int32)
|
SetSortIdx(int32)
|
||||||
IsBattling() bool
|
IsBattling() bool
|
||||||
SetBattling(bool)
|
SetBattling(bool)
|
||||||
HasLuckySymbol() int32
|
|
||||||
GenNextCopy() Player
|
GenNextCopy() Player
|
||||||
GetBattleItems() []*BattleItem
|
GetBattleItems() []*BattleItem
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,6 @@ type player struct {
|
|||||||
vipLv int32
|
vipLv int32
|
||||||
vipExp int64
|
vipExp int64
|
||||||
hasVipLucky int32
|
hasVipLucky int32
|
||||||
hasLuckySymbol int32
|
|
||||||
battleItems []*common.BattleItem
|
battleItems []*common.BattleItem
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,7 +66,6 @@ func (this *player) parseUserInfo(userInfo *common.UserInfo){
|
|||||||
q5.DuckToSimple(userInfo.VipLv, &this.vipLv)
|
q5.DuckToSimple(userInfo.VipLv, &this.vipLv)
|
||||||
q5.DuckToSimple(userInfo.VipExp, &this.vipExp)
|
q5.DuckToSimple(userInfo.VipExp, &this.vipExp)
|
||||||
q5.DuckToSimple(userInfo.HasVipLucky, &this.hasVipLucky)
|
q5.DuckToSimple(userInfo.HasVipLucky, &this.hasVipLucky)
|
||||||
q5.DuckToSimple(userInfo.HasLuckySymbol, &this.hasLuckySymbol)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *player) parseHeroInfo(heroInfo *common.HeroInfo){
|
func (this *player) parseHeroInfo(heroInfo *common.HeroInfo){
|
||||||
@ -188,10 +186,6 @@ func (this *player) SetSortIdx(sortIdx int32) {
|
|||||||
this.sortIdx = sortIdx
|
this.sortIdx = sortIdx
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *player) HasLuckySymbol() int32 {
|
|
||||||
return this.hasLuckySymbol
|
|
||||||
}
|
|
||||||
|
|
||||||
func (this *player) GenNextCopy() common.Player {
|
func (this *player) GenNextCopy() common.Player {
|
||||||
nextCopy := newPlayer()
|
nextCopy := newPlayer()
|
||||||
//nextCopy.socket
|
//nextCopy.socket
|
||||||
|
@ -152,7 +152,6 @@ message MFTeamMember
|
|||||||
optional int64 vip_exp = 18; //vip经验
|
optional int64 vip_exp = 18; //vip经验
|
||||||
optional int32 has_vip_lucky = 19; //是否有vip幸运值加成
|
optional int32 has_vip_lucky = 19; //是否有vip幸运值加成
|
||||||
repeated MFBattleItem battle_items = 20; //带入战斗的道具
|
repeated MFBattleItem battle_items = 20; //带入战斗的道具
|
||||||
optional int32 has_lucky_symbol = 21; //是否已使用幸运符
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//队伍信息
|
//队伍信息
|
||||||
|
@ -438,7 +438,6 @@ func (this *team) genStartGameInfo() {
|
|||||||
ele2.AccountId = m.GetAccountId()
|
ele2.AccountId = m.GetAccountId()
|
||||||
ele2.SpecSkill = m.GetSpecSkill()
|
ele2.SpecSkill = m.GetSpecSkill()
|
||||||
ele2.HeroUniId = m.GetHeroUniid()
|
ele2.HeroUniId = m.GetHeroUniid()
|
||||||
ele2.HasLuckySymbol = m.HasLuckySymbol()
|
|
||||||
ele2.BattleItems = m.GetBattleItems()
|
ele2.BattleItems = m.GetBattleItems()
|
||||||
GetHistoryMgr().AddBattle(m.GetAccountId(),
|
GetHistoryMgr().AddBattle(m.GetAccountId(),
|
||||||
this.mapInfo.MapId,
|
this.mapInfo.MapId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user