public void copyFrom(stObjectLocation rhv) { dwLocation = rhv.dwLocation; dwTableID = rhv.dwTableID; x = rhv.x; y = rhv.y; }
public void derialize(ByteBuffer bu) { bu.readUnsignedInt32(ref dwThisID); bu.readUnsignedInt32(ref dwObjectID); pos = new stObjectLocation(); pos.derialize(bu); bu.readUnsignedInt32(ref dwNum); }
public override void derialize(ByteBuffer bu) { base.derialize(bu); bu.readUnsignedInt32(ref qwThisID); dst = new stObjectLocation(); dst.derialize(bu); bu.readUnsignedInt8(ref success); }
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); }
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); }