Beispiel #1
0
            public static bool Prefix(VisibilityCache __instance)
            {
                if (VisibilityCacheGate.Active)
                {
                    VisibilityCacheGate.AddActorToRefresh(GetOwningActor(__instance));
                    return(false);
                }

                return(true);
            }
Beispiel #2
0
            public static bool Prefix(VisibilityCache __instance)
            {
                EWState.InBatchProcess = true;
                EWState.EWStateCache.Clear();

                if (VisibilityCacheGate.Active)
                {
                    VisibilityCacheGate.AddActorToRefresh(GetOwningActor(__instance));
                    return(false);
                }

                return(true);
            }