Example #1
0
 public void Write(DWriter wtr)
 {
     wtr.Write(A);
     wtr.Write(R);
     wtr.Write(G);
     wtr.Write(B);
 }
Example #2
0
 public void Write(DWriter wtr)
 {
     wtr.Write(Item);
     wtr.Write(SlotType);
     wtr.Write(Tradeable);
     wtr.Write(Included);
 }
Example #3
0
 public void Write(DWriter wtr)
 {
     wtr.Write(this.ObjectId);
     this.Position.Write(wtr);
     wtr.Write((short)this.StatData.Length);
     foreach (StatData statData in this.StatData)
     {
         statData.Write(wtr);
     }
 }
Example #4
0
 public void Write(DWriter wtr)
 {
     wtr.Write((byte)this.StatsType);
     if (IsUTFData())
     {
         wtr.WriteUTF(this.obf2);
     }
     else
     {
         wtr.Write(this.obf1);
     }
 }
Example #5
0
        public void Write(DWriter wtr)
        {
            wtr.Write(Id);
            Position.Write(wtr);

            wtr.Write((short)Stats.Length);
            foreach (var i in Stats)
            {
                wtr.Write((byte)i.Key);
                if (i.Value is string)
                {
                    wtr.WriteUTF(i.Value as string);
                }
                else
                {
                    wtr.Write((int)i.Value);
                }
            }
        }
Example #6
0
 public void Write(DWriter wtr)
 {
     wtr.Write(ObjectType);
     Stats.Write(wtr);
 }
Example #7
0
 public void Write(DWriter wtr)
 {
     wtr.Write(X);
     wtr.Write(Y);
 }
Example #8
0
 public void Write(DWriter wtr)
 {
     wtr.Write(Time);
     Position.Write(wtr);
 }
Example #9
0
 public void Write(DWriter wtr)
 {
     wtr.Write(Width);
     wtr.Write(Height);
     wtr.Write(Bytes);
 }
Example #10
0
 public void Write(DWriter wtr)
 {
     wtr.Write(ObjectId);
     wtr.Write(SlotId);
     wtr.Write(ObjectType);
 }