This commit is contained in:
aozhiwei 2024-10-15 17:47:36 +08:00
parent fcdeb03d01
commit 9a2930cec4
4 changed files with 0 additions and 9 deletions

View File

@ -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
} }

View File

@ -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

View File

@ -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; //使
} }
// //

View File

@ -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,