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)); }