public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((ulong)this.id); packet.getData().write((ushort)this.type); packet.getData().write((float)this.x); packet.getData().write((float)this.z); }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((string)this.username); packet.getData().write((ulong)this.password0); packet.getData().write((ulong)this.password1); packet.getData().write((ulong)this.password2); packet.getData().write((ulong)this.password3); }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((byte)this.data.Count); foreach (EntityUpdate val in this.data) { val.pack(marshal, packet); } }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((float)this.x); packet.getData().write((float)this.z); packet.getData().write((float)this.speed); packet.getData().write((float)this.vx); packet.getData().write((float)this.vz); packet.getData().write((byte)this.seq); packet.getData().write((ushort)this.frame); }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write(this.x.hasValue()); if (this.x.hasValue()) { packet.getData().write((uint)this.x.getValue()); } packet.getData().write((byte)this.y.Count); foreach (SpawnData val in this.y) { val.pack(marshal, packet); } packet.getData().write((int)this.z); packet.getData().write(this.w.hasValue()); if (this.w.hasValue()) { packet.getData().write((byte)this.w.getValue().Count); foreach (bool val in this.w.getValue()) { packet.getData().write((bool)val); } } }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((bool)this.success); }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((ulong)this.id); }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((byte)this.index); }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((uint)this.version); }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((string)this.name); }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((char)this.x); packet.getData().write((char)this.y); packet.getData().write((byte)this.seq); }
public void pack(Kaminari.IMarshal marshal, Kaminari.Packet packet) { packet.getData().write((byte)this.num_characters); }