2025-02-02 16:26:56 +08:00
|
|
|
NowEventID = 0;
|
|
|
|
function GetNewEventID()
|
|
|
|
NowEventID = NowEventID + 1
|
|
|
|
return NowEventID
|
|
|
|
end
|
2025-01-09 13:36:39 +08:00
|
|
|
|
2025-02-02 16:26:56 +08:00
|
|
|
EventEnum = {
|
2025-01-09 13:36:39 +08:00
|
|
|
-- PlayerEvent
|
2025-02-02 16:26:56 +08:00
|
|
|
PlayerDeathInfo = GetNewEventID(), -- 死亡信息 VictimKey, CauserKey, WeaponID, DamageType, IsHeadShotDamage, Distance, DamageValue uint, uint, int, int, bool, float, float
|
|
|
|
PlayerInjuryInfo = GetNewEventID(), -- 受伤信息 VictimKey, CauserKey, WeaponID, DamageType, IsHeadShotDamage, Distance, DamageValue uint, uint, int, int, bool, float, float
|
2025-01-09 13:36:39 +08:00
|
|
|
|
2025-02-02 16:26:56 +08:00
|
|
|
ChangeFX = GetNewEventID(), -- 切换特效 传入EFXType
|
|
|
|
OverrideFXColor = GetNewEventID(), -- 切换特效颜色 传入EFXType
|
2025-01-09 13:36:39 +08:00
|
|
|
}
|