Calculates if the max lifetime is higher than refresher frequency (i.e. gets kept alive by refresher)
350 {
352 {
354 int frequency =
GetCEApi().GetCEGlobalInt(
"FlagRefreshFrequency");
355 if ( frequency <= 0 )
356 {
357 frequency = GameConstants.REFRESHER_FREQUENCY_DEFAULT;
358 }
359
360 if ( frequency <= lifetime )
361 {
364 }
365 }
366 }
proto native CEApi GetCEApi()
Get the CE API.
proto native float GetLifetime()
proto native CEItemProfile GetEconomyProfile()
Get economy item profile (if assigned, otherwise null)
proto native void SetSynchDirty()
Sets object synchronization dirty flag, which signalize that object wants to be synchronized (take ef...
proto native CGame GetGame()