public static void Prefix()
            {
                VisibilityCacheGate.EnterGate();
                GateActive = true;

                _counter = VisibilityCacheGate.GetCounter;
                RTPFLogger.Debug?.Write($"Enter visibility cache gate in {typeof(H_OnRoundEnd).FullName}:{nameof(Prefix)}\n");
            }
 public static void Prefix()
 {
     if (!_hasEntered)
     {
         _hasEntered = true;
         VisibilityCacheGate.EnterGate();
         _counter = VisibilityCacheGate.GetCounter;
         RTPFLogger.Debug?.Write($"Enter visibility cache gate in {typeof(H_Update).FullName}:{nameof(Prefix)}\n");
     }
 }
예제 #3
0
 public static void Postfix()
 {
     VisibilityCacheGate.EnterGate();
     _counter = VisibilityCacheGate.GetCounter;
     RTPFLogger.Debug?.Write($"Enter visibility cache gate in {typeof(H_OnAttackSequenceBegin).FullName}:{nameof(Postfix)}\n");
 }
 public static void Prefix(AbstractActor __instance)
 {
     VisibilityCacheGate.EnterGate();
     GateActive = true;
     counter    = VisibilityCacheGate.GetCounter;
 }