private void ConfigurePortal(string _roomId, string _idWithTags, int _playerCount, VRC.Player instigator) { this.RoomId = _roomId; this.CreatorId = ((!(instigator != null)) ? base.OwnerId : instigator.GetPhotonPlayerId()); this.worldInstanceId = _idWithTags; this.playerCount = _playerCount; this.FetchWorld(null); }
// Token: 0x060058B0 RID: 22704 RVA: 0x001EB66C File Offset: 0x001E9A6C public void HandlePlayerLeft(Player player) { int instigatorID = Network.GetInstigatorID(player); foreach (KeyValuePair <EventType, EventType> keyValuePair in this.eventLogState.Where(delegate(KeyValuePair <EventType, EventType> p) { EventType key2 = p.Key; return(key2.Instigator == instigatorID); })) { EventType key = keyValuePair.Key; int instigator = 0; EventType value = keyValuePair.Value; value.Instigator = instigator; key.Instigator = instigator; } if (this.syncQueues.ContainsKey(player.GetPhotonPlayerId())) { this.syncQueues.Remove(player.GetPhotonPlayerId()); } }