public void copyFrom(stObjectLocation rhv)
 {
     dwLocation = rhv.dwLocation;
     dwTableID = rhv.dwTableID;
     x = rhv.x;
     y = rhv.y;
 }
Exemple #2
0
 public void copyFrom(stObjectLocation rhv)
 {
     dwLocation = rhv.dwLocation;
     dwTableID  = rhv.dwTableID;
     x          = rhv.x;
     y          = rhv.y;
 }
Exemple #3
0
 public void derialize(ByteBuffer bu)
 {
     bu.readUnsignedInt32(ref dwThisID);
     bu.readUnsignedInt32(ref dwObjectID);
     pos = new stObjectLocation();
     pos.derialize(bu);
     bu.readUnsignedInt32(ref dwNum);
 }
 public void derialize(ByteBuffer bu)
 {
     bu.readUnsignedInt32(ref dwThisID);
     bu.readUnsignedInt32(ref dwObjectID);
     pos = new stObjectLocation();
     pos.derialize(bu);
     bu.readUnsignedInt32(ref dwNum);
 }
Exemple #5
0
        public override void derialize(ByteBuffer bu)
        {
            base.derialize(bu);

            bu.readUnsignedInt32(ref qwThisID);
            dst = new stObjectLocation();
            dst.derialize(bu);
            bu.readUnsignedInt8(ref success);
        }
Exemple #6
0
        public override void derialize(ByteBuffer bu)
        {
            base.derialize(bu);

            bu.readUnsignedInt32(ref dwAttThisID);
            bu.readUnsignedInt32(ref dwDefThisID);
            bu.readUnsignedInt32(ref dwMagicType);

            dst = new stObjectLocation();
            dst.derialize(bu);
        }
Exemple #7
0
        public override void serialize(ByteBuffer bu)
        {
            base.serialize(bu);

            bu.writeUnsignedInt32(dwAttThisID);
            bu.writeUnsignedInt32(dwDefThisID);
            bu.writeUnsignedInt32(dwMagicType);

            if (dst == null)
            {
                dst = new stObjectLocation();
            }
            dst.serialize(bu);
        }