This commit is contained in:
aozhiwei 2024-04-01 15:31:59 +08:00
parent 338b731a31
commit 73b8f3ffa4
2 changed files with 7 additions and 2 deletions

View File

@ -633,6 +633,11 @@ void FrameMaker::SerializeVoices(cs::SMUpdate* msg, Room* room, Human* hum, Fram
p->mutable_kill_info()->set_dead_hero_id(hum->GetHeroMeta()->id());
}
}
#ifdef MYDEBUG
if (hum->IsPlayer()) {
a8::XPrintf("InGameVoice %d:%s\n", {room->GetRoomIdx(), f8::PbToJson(msg)});
}
#endif
}
}
}

View File

@ -1407,7 +1407,7 @@ void Player::_CMRequestBulletDmg(f8::MsgHdr* hdr, const cs::CMRequestBulletDmg&
{
auto itr = room->report_bullet_hash.find(msg.bullet_uniid());
if (itr == room->report_bullet_hash.end()) {
#ifdef MYDEBUG
#ifdef MYDEBUG1
a8::XPrintf("CMRequestBulletDmg bullet_uniid:%d shield_hit:%d strengthen_wall_uniid:%d target_uniid:%d found:%d pos:%f,%f,%f equip_id:%d\n",
{
msg.bullet_uniid(),
@ -1436,7 +1436,7 @@ void Player::_CMRequestBulletDmg(f8::MsgHdr* hdr, const cs::CMRequestBulletDmg&
glm::vec3(msg.pos().x(), msg.pos().y(), msg.pos().z())
);
}
#ifdef MYDEBUG
#ifdef MYDEBUG1
a8::XPrintf("CMRequestBulletDmg bullet_uniid:%d shield_hit:%d strengthen_wall_uniid:%d target_uniid:%d found:%d pos:%f,%f,%f equip_id:%d\n",
{
msg.bullet_uniid(),