示例#1
0
        // Token: 0x060012CF RID: 4815 RVA: 0x0005C430 File Offset: 0x0005A630
        public override void OnDeserialize(NetworkReader reader, bool initialState)
        {
            if (initialState)
            {
                this.pickupIndex = GeneratedNetworkCode._ReadPickupIndex_None(reader);
                return;
            }
            int num = (int)reader.ReadPackedUInt32();

            if ((num & 1) != 0)
            {
                this.pickupIndex = GeneratedNetworkCode._ReadPickupIndex_None(reader);
            }
        }
示例#2
0
        // Token: 0x0600133A RID: 4922 RVA: 0x000525B4 File Offset: 0x000507B4
        public override void OnDeserialize(NetworkReader reader, bool initialState)
        {
            if (initialState)
            {
                this.pickupIndex      = GeneratedNetworkCode._ReadPickupIndex_None(reader);
                this.hidden           = reader.ReadBoolean();
                this.hasBeenPurchased = reader.ReadBoolean();
                return;
            }
            int num = (int)reader.ReadPackedUInt32();

            if ((num & 1) != 0)
            {
                this.OnSyncPickupIndex(GeneratedNetworkCode._ReadPickupIndex_None(reader));
            }
            if ((num & 2) != 0)
            {
                this.OnSyncHidden(reader.ReadBoolean());
            }
            if ((num & 4) != 0)
            {
                this.SetHasBeenPurchased(reader.ReadBoolean());
            }
        }
示例#3
0
 // Token: 0x06000B66 RID: 2918 RVA: 0x000322E2 File Offset: 0x000304E2
 public override void Deserialize(NetworkReader reader)
 {
     this.masterGameObject = reader.ReadGameObject();
     this.pickupIndex      = GeneratedNetworkCode._ReadPickupIndex_None(reader);
     this.pickupQuantity   = reader.ReadPackedUInt32();
 }