Exemplo n.º 1
0
            public static bool Prefix(VisibilityCache __instance)
            {
                if (VisibilityCacheGate.Active)
                {
                    VisibilityCacheGate.AddActorToRefreshReciprocal(GetOwningActor(__instance));
                    return(false);
                }

                return(true);
            }
Exemplo n.º 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);
            }