public void Write(UdpKit.UdpPacket packet) { packet.WriteInt(TemplateID); packet.WriteInt(ID); packet.WriteInt(Parent); packet.WriteInt(ParentCon); packet.WriteInt(Con); packet.WriteBool(Disabled); //packet.WriteVector3(Position); //packet.WriteQuaternion(Rotation); }
public void Write(UdpKit.UdpPacket packet) { packet.WriteInt(TemplateID); //packet.WriteBool(Free); //packet.WriteBool(Freeze); packet.WriteInt(ID); packet.WriteInt(Parent); packet.WriteInt(ParentCon); //packet.WriteVector3(Position); //packet.WriteQuaternion(Rotation); //packet.WriteVector3(Scale); packet.WriteByteArray(ListToByteArray(64, ActiveCons)); //was 255 packet.WriteByteArray(ListToByteArray(64, Children)); packet.WriteByteArray(ListToByteArray(64, ChildCons)); }
void Bolt.IProtocolToken.Write(UdpKit.UdpPacket packet) { packet.WriteInt(Number); }
public void Write(UdpKit.UdpPacket packet) { packet.WriteInt(actorID); //packet.WriteInt(actorPrefab); packet.WriteVector3(actorPos); }
public void Write(UdpKit.UdpPacket packet) { packet.WriteInt(actorFactionID); packet.WriteString(actorRaceName); }
public void Write(UdpKit.UdpPacket packet) { packet.WriteInt(TemplateID); packet.WriteInt(ID); packet.WriteBool(Disabled); }
public void Write(UdpKit.UdpPacket packet) { packet.WriteInt(itemID); packet.WriteInt(itemQuantity); }