public static InvDropPacket Read(NBufferReader reader) { var ret = new InvDropPacket(); ret.Obj = ObjectSlot.Read(reader); return(ret); }
public static UseItemPacket Read(NBufferReader reader) { var ret = new UseItemPacket(); ret.Time = reader.ReadUInt32(); ret.Slot = ObjectSlot.Read(reader); ret.Position = Position.Read(reader); ret.UseType = reader.ReadByte(); return(ret); }
public static InvSwapPacket Read(NBufferReader reader) { var ret = new InvSwapPacket(); ret.Time = reader.ReadUInt32(); ret.Position = Position.Read(reader); ret.Obj1 = ObjectSlot.Read(reader); ret.Obj2 = ObjectSlot.Read(reader); return(ret); }