protected static void Trigger(MyTimerBlock obj) { if (!obj.IsWorking) { return; } obj.StopCountdown(); if (Sync.IsServer) { obj.NeedsUpdate |= Common.MyEntityUpdateEnum.BEFORE_NEXT_FRAME; } else { obj.UpdateEmissivity(); } }
protected static void OnTrigger(MyTimerBlock obj) { if (!obj.IsWorking) { return; } obj.StopCountdown(); if (Sync.IsServer) { obj.NeedsUpdate |= MyEntityUpdateEnum.BEFORE_NEXT_FRAME; } else { obj.TimerSyncObject.Trigger(); } }
protected static void Trigger(MyTimerBlock obj) { if (!obj.IsWorking) { return; } obj.StopCountdown(); if (Sync.IsServer) { obj.NeedsUpdate |= MyEntityUpdateEnum.BEFORE_NEXT_FRAME; } else { obj.UpdateEmissivity(); } }
protected static void OnTrigger(MyTimerBlock obj) { if (!obj.IsWorking) { return; } obj.StopCountdown(); if (Sync.IsServer) { obj.NeedsUpdate |= Common.MyEntityUpdateEnum.BEFORE_NEXT_FRAME; } else { obj.TimerSyncObject.Trigger(); } }