示例#1
0
 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);
 }
示例#2
0
 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);
 }
示例#4
0
 public void Write(UdpKit.UdpPacket packet)
 {
     packet.WriteInt(actorID);
     //packet.WriteInt(actorPrefab);
     packet.WriteVector3(actorPos);
 }
示例#5
0
 public void Write(UdpKit.UdpPacket packet)
 {
     packet.WriteInt(actorFactionID);
     packet.WriteString(actorRaceName);
 }
示例#6
0
 public void Write(UdpKit.UdpPacket packet)
 {
     packet.WriteInt(TemplateID);
     packet.WriteInt(ID);
     packet.WriteBool(Disabled);
 }
示例#7
0
 public void Write(UdpKit.UdpPacket packet)
 {
     packet.WriteInt(itemID);
     packet.WriteInt(itemQuantity);
 }