// Token: 0x060021FB RID: 8699 RVA: 0x000B83A8 File Offset: 0x000B67A8
        public void rebuildState()
        {
            if (this.items == null)
            {
                return;
            }
            SteamPacker.openWrite(0);
            SteamPacker.write(this.owner, this.group, this.items.getItemCount());
            for (byte b = 0; b < this.items.getItemCount(); b += 1)
            {
                ItemJar item = this.items.getItem(b);
                SteamPacker.write(item.x, item.y, item.rot, item.item.id, item.item.amount, item.item.quality, item.item.state);
            }
            if (this.isDisplay)
            {
                SteamPacker.write(this.displaySkin);
                SteamPacker.write(this.displayMythic);
                SteamPacker.write((!string.IsNullOrEmpty(this.displayTags)) ? this.displayTags : string.Empty);
                SteamPacker.write((!string.IsNullOrEmpty(this.displayDynamicProps)) ? this.displayDynamicProps : string.Empty);
                SteamPacker.write(this.rot_comp);
            }
            int size;

            byte[] state = SteamPacker.closeWrite(out size);
            BarricadeManager.updateState(base.transform, state, size);
        }
Exemplo n.º 2
0
 public void write(params object[] objects)
 {
     SteamPacker.write(objects);
 }
Exemplo n.º 3
0
 public void write(object object_0, object object_1, object object_2, object object_3, object object_4, object object_5, object object_6)
 {
     SteamPacker.write(object_0, object_1, object_2, object_3, object_4, object_5, object_6);
 }
Exemplo n.º 4
0
 public void write(object object_0, object object_1, object object_2, object object_3)
 {
     SteamPacker.write(object_0, object_1, object_2, object_3);
 }
Exemplo n.º 5
0
 public void write(object object_0, object object_1)
 {
     SteamPacker.write(object_0, object_1);
 }
Exemplo n.º 6
0
 public void write(object objects)
 {
     SteamPacker.write(objects);
 }