This commit is contained in:
aozhiwei 2024-03-27 10:28:51 +08:00
parent 5e07199fe7
commit d43804b4fa
4 changed files with 2 additions and 29 deletions

View File

@ -656,8 +656,6 @@ void Creature::RecalcBuffAttr()
bool need_refresh_hp = false;
for (auto& buff : buff_list_) {
}
for (auto& tuple : talent_list) {
}
if (need_refresh_hp) {
SetHP(GetMaxHP());
GetTrigger()->HpChg();

View File

@ -109,8 +109,6 @@ class Creature : public MoveableEntity
glm::vec3 context_dir = GlmHelper::ZERO;
std::shared_ptr<Ability> context_ability;
std::vector<std::tuple<int, int>> talent_list;
std::function<void ()> on_loading_bullet;
CreatureWeakPtr follow_target;

View File

@ -2426,13 +2426,6 @@ Player* PlayerMgr::CreatePlayerByCustomMember(Player* hum,
}
}
#endif
#if 0
for (auto& pair : msg.talent_list()) {
hum->talent_list.push_back(
std::make_tuple(pair.key(), pair.value())
);
}
#endif
if (socket) {
socket_hash_[socket] = hum;
}

View File

@ -1539,26 +1539,10 @@ message MFBattlePreInfo
message CMJoin
{
optional int32 server_id = 1; //serverid
optional string team_uuid = 2; //id ()
optional string account_id = 3; //id account_id
optional int32 _team_mode = 4; // 0: 1:
optional int32 proto_version = 5; //Constant_e.ProtoVersion
optional bool _auto_fill = 6; //
optional string _name = 8; //
optional string _avatar_url = 11; //
repeated MFWeapon _weapons = 17; //
optional string account_id = 3; //id account_id
optional string session_id = 20; //session_id
optional int32 _head_frame = 36 [default = 0]; //
optional int32 _sex = 37 [default = 0]; //
repeated MFTeamMember _team_members = 51; //
optional int32 _room_mode = 52; //0: 1:pve 2: 3:moba
optional int32 _mapid = 53; //id 0:
optional string _user_data = 60 [default = ""]; //
optional int32 _hero_id = 61; //id
optional string _hero_uniid = 71; //id
optional int32 _pve_instance_id = 72; //pve副本id
optional int32 _team_slot_num = 73; //1-4
optional int32 _force_enter_newbie_room = 74; //
optional string team_uuid = 2; //id
optional string payload_data = 75; //
}