This commit is contained in:
aozhiwei 2022-05-27 15:28:10 +08:00
commit 90c77a1da1
5 changed files with 29 additions and 0 deletions

View File

@ -292,7 +292,18 @@ void Hero::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
void Hero::OnAddToTargetPartObject(Entity* target)
{
if (delete_frameno > 0) {
#if 1
a8::UdpLog::Instance()->Warning
("Hero::OnAddToTargetPartObject "
"delete_frameno:%d "
"room.frameno:%d",
{
delete_frameno,
room->GetFrameNo()
});
#else
A8_ABORT();
#endif
}
}

View File

@ -123,6 +123,7 @@ void MatchTeam::_CMMatchChoose(f8::MsgHdr& hdr, const cs::CMMatchChoose& msg)
auto member = GetMemberBySocket(hdr.socket_handle);
if (member && master_team_->phase_ == kMatchChoose) {
member->msg->set_hero_id(msg.hero_id());
member->msg->set_hero_uniid(msg.hero_uniid());
*member->msg->mutable_weapons() = msg.weapons();
*member->msg->mutable_skins() = msg.skins();
*member->msg->mutable_skill_list() = msg.skill_list();

View File

@ -1151,6 +1151,7 @@ message CMMatchChoose
repeated MFPair skill_list = 4; // key:id value:,0
repeated int32 baseskin = 5; //id
optional int32 hero_skin = 6; //
optional string hero_uniid = 7; //id
}
//-

View File

@ -916,6 +916,7 @@ message CMMatchChoose
repeated MFPair skill_list = 4;
repeated int32 baseskin = 5;
optional int32 hero_skin = 6;
optional string hero_uniid = 7;
}
message CMMatchStartGame

View File

@ -126,6 +126,7 @@ message Item
optional int32 skinid = 6;
optional int32 isdefaultskin = 7;
optional int32 playerid = 8;
optional int32 relationship = 9;
}
message Equip
@ -428,6 +429,20 @@ message GunTalentGrow
optional string addattr = 5;
}
message HeroQuality
{
optional int32 id = 1;
optional int32 quality = 2;
optional int32 gold_limit = 3;
}
message GunQuality
{
optional int32 id = 1;
optional int32 quality = 2;
optional int32 gold_limit = 3;
}
message DoorObjJson
{