OpRemoveCompleteCache









How do I use Op Remove Complete Cache
Below are practical examples compiled from projects for learning and reference purposes

Featured Snippets


File name: NetworkingPeer.cs Copy
2476     public void DestroyAll(bool localOnly)
2477     {
2478         if (!localOnly)
2479         {
2480             this.OpRemoveCompleteCache();
2481             this.SendDestroyOfAll();
2482         }
2483
2484         this.LocalCleanupAnythingInstantiated(true);
2485     }
File name: NetworkingPeer.cs Copy
2765     public void OpRemoveCompleteCacheOfPlayer(int actorNumber)
2766     {
2767         RaiseEventOptions options = new RaiseEventOptions() { CachingOption = EventCaching.RemoveFromRoomCache, TargetActors = new int[] { actorNumber } };
2768         this.OpRaiseEvent(0, null, true, options);
2769         //this.OpRaiseEvent(0, null, true, 0, new int[] { actorNumber }, EventCaching.RemoveFromRoomCache);
2770     }
File name: NetworkingPeer.cs Copy
2773     public void OpRemoveCompleteCache()
2774     {
2775         RaiseEventOptions options = new RaiseEventOptions() { CachingOption = EventCaching.RemoveFromRoomCache, Receivers = ReceiverGroup.MasterClient };
2776         this.OpRaiseEvent(0, null, true, options);
2777         //this.OpRaiseEvent(0, null, true, 0, EventCaching.RemoveFromRoomCache, ReceiverGroup.MasterClient); // TODO: check who gets this event?
2778     }

OpRemoveCompleteCache 123 lượt xem

Gõ tìm kiếm nhanh...