public override void OnDeserialize(NetworkReader reader, bool initialState) { if (initialState) { SyncListInt.ReadReference(reader, m_barrierIdSync); SyncListInt.ReadReference(reader, m_movementStatesSync); SyncListInt.ReadReference(reader, m_visionStatesSync); } else { int num = (int)reader.ReadPackedUInt32(); if ((num & 1) != 0) { SyncListInt.ReadReference(reader, m_barrierIdSync); } if ((num & 2) != 0) { SyncListInt.ReadReference(reader, m_movementStatesSync); } if ((num & 4) == 0) { return; } SyncListInt.ReadReference(reader, m_visionStatesSync); } }
public override void OnDeserialize(NetworkReader reader, bool initialState) { if (initialState) { SyncListBool.ReadReference(reader, m_abilityRequested); m_numCinematicRequestsLeft = (int)reader.ReadPackedUInt32(); SyncListInt.ReadReference(reader, m_cinematicsPlayedThisMatch); } else { int num = (int)reader.ReadPackedUInt32(); if ((num & 1) != 0) { SyncListBool.ReadReference(reader, m_abilityRequested); } if ((num & 2) != 0) { m_numCinematicRequestsLeft = (int)reader.ReadPackedUInt32(); } if ((num & 4) == 0) { return; } SyncListInt.ReadReference(reader, m_cinematicsPlayedThisMatch); } }
public override void OnDeserialize(NetworkReader reader, bool initialState) { if (initialState) { SyncListInt.ReadReference(reader, m_values); } else { if (((int)reader.ReadPackedUInt32() & 1) == 0) { return; } SyncListInt.ReadReference(reader, m_values); } }
// Token: 0x0600060F RID: 1551 RVA: 0x00019768 File Offset: 0x00017968 public override void OnDeserialize(NetworkReader reader, bool initialState) { if (initialState) { SyncListInt.ReadReference(reader, this.syncActiveMonsterBodies); SyncListInt.ReadReference(reader, this.syncActivePickups); this._clearedRounds = (int)reader.ReadPackedUInt32(); return; } int num = (int)reader.ReadPackedUInt32(); if ((num & 1) != 0) { SyncListInt.ReadReference(reader, this.syncActiveMonsterBodies); } if ((num & 2) != 0) { SyncListInt.ReadReference(reader, this.syncActivePickups); } if ((num & 4) != 0) { this._clearedRounds = (int)reader.ReadPackedUInt32(); } }
public override void OnDeserialize(NetworkReader reader, bool initialState) { if (initialState) { SyncListInt.ReadReference(reader, _cooldownsSync); SyncListInt.ReadReference(reader, _consumedStockCount); SyncListInt.ReadReference(reader, _stockRefreshCountdowns); SyncListInt.ReadReference(reader, _currentCardIds); _selectedActionForTargeting = (ActionType)reader.ReadInt32(); } else { int num = (int)reader.ReadPackedUInt32(); if ((num & 1) != 0) { SyncListInt.ReadReference(reader, _cooldownsSync); } if ((num & 2) != 0) { SyncListInt.ReadReference(reader, _consumedStockCount); } if ((num & 4) != 0) { SyncListInt.ReadReference(reader, _stockRefreshCountdowns); } if ((num & 8) != 0) { SyncListInt.ReadReference(reader, _currentCardIds); } if ((num & 16) == 0) { return; } _selectedActionForTargeting = (ActionType)reader.ReadInt32(); } }