This commit is contained in:
aozhiwei 2023-03-21 17:14:31 +08:00
parent 19faf96fc5
commit f0c0e4df6c
3 changed files with 12 additions and 3 deletions

View File

@ -253,8 +253,9 @@ enum PropertyType_e
kPropEnergyShield = 40, kPropEnergyShield = 40,
kPropGemstone = 41, kPropGemstone = 41,
kPickUp = 42, kPropPickUp = 42,
kTeamNum = 43, kProTeamNum = 43,
kPropTeamId = 44,
}; };
enum SkinSlot_e enum SkinSlot_e

View File

@ -2963,7 +2963,7 @@ void Human::LootInteraction(Loot* entity)
room->frame_event.AddPropChg room->frame_event.AddPropChg
( (
GetWeakPtrRef(), GetWeakPtrRef(),
kPickUp, kPropPickUp,
0, 0,
target_uniid, target_uniid,
false); false);

View File

@ -192,6 +192,8 @@ message MFVec3
value: uniid value: uniid
property_type: 43 property_type: 43
value: value:
property_type: 44 id
value: id
*/ */
message MFPropertyChg message MFPropertyChg
{ {
@ -314,6 +316,7 @@ message MFPlayerFull
optional int32 charid = 44; //id optional int32 charid = 44; //id
optional float speed = 45; // optional float speed = 45; //
optional int32 team_id = 71; //id
optional float shoot_offset_x = 50 [default = 0]; //-x optional float shoot_offset_x = 50 [default = 0]; //-x
optional float shoot_offset_y = 51 [default = 0]; //-y optional float shoot_offset_y = 51 [default = 0]; //-y
@ -366,6 +369,8 @@ message MFObstacleFull
optional int32 door_open_times = 29; //,/ ++times 0: optional int32 door_open_times = 29; //,/ ++times 0:
optional string button_name = 30; // optional string button_name = 30; //
optional MFCollider collider = 31; // optional MFCollider collider = 31; //
optional int32 team_id = 41; //id
} }
//- //-
@ -430,6 +435,7 @@ message MFHeroFull
repeated MFBuff buff_list = 12; //buff列表 repeated MFBuff buff_list = 12; //buff列表
optional float max_health = 13; // optional float max_health = 13; //
repeated MFEffect effect_list = 14; // repeated MFEffect effect_list = 14; //
optional int32 team_id = 15; //id
} }
//- //-
@ -457,6 +463,7 @@ message MFCarFull
optional int32 max_oil = 15; // optional int32 max_oil = 15; //
optional int32 bullet_num = 16; // optional int32 bullet_num = 16; //
repeated MFEffect effect_list = 18; // repeated MFEffect effect_list = 18; //
optional int32 team_id = 19; //id
/* /*
@ -1495,6 +1502,7 @@ message SMGameOver
optional int32 match_mode = 32; // 0: pvp 1:() optional int32 match_mode = 32; // 0: pvp 1:()
optional MFSettlement settlement = 33; // optional MFSettlement settlement = 33; //
optional MFSettlementNew settlement_new = 34; //new
} }
// //