Example #1
0
 public void Read(UdpKit.UdpPacket packet)
 {
     TemplateID = packet.ReadInt();
     //Free = packet.ReadBool();
     //Freeze = packet.ReadBool();
     ID        = packet.ReadInt();
     Parent    = packet.ReadInt();
     ParentCon = packet.ReadInt();
     //Position = packet.ReadVector3();
     //Rotation = packet.ReadQuaternion();
     //Scale = packet.ReadVector3();
     ActiveCons = ByteArrayToList(packet.ReadByteArray(64));
     Children   = ByteArrayToList(packet.ReadByteArray(64));
     ChildCons  = ByteArrayToList(packet.ReadByteArray(64));
 }