14 lines
719 B
Lua
14 lines
719 B
Lua
NowEventID = 0;
|
|
function GetNewEventID()
|
|
NowEventID = NowEventID + 1
|
|
return NowEventID
|
|
end
|
|
|
|
EventEnum = {
|
|
-- PlayerEvent
|
|
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
|
|
|
|
ChangeFX = GetNewEventID(), -- 切换特效 传入EFXType
|
|
OverrideFXColor = GetNewEventID(), -- 切换特效颜色 传入EFXType
|
|
} |