Exemple #1
0
 public static WaypointScript GetScriptsFromSetAiAnimKitPacket(SetAiAnimKitPacket animKitPacket)
 {
     return(new WaypointScript(0, 0, ScriptType.SetAnimKit, (uint)animKitPacket.aiAnimKitId, 0, 0, 0.0f, 0.0f, 0.0f, 0.0f, 0, animKitPacket.packetSendTime));
 }
Exemple #2
0
 public static void AddSourceFromSetAiAnimKitPacket(this SortedDictionary <long, Packet> dict, SetAiAnimKitPacket animKitPacket, long index)
 {
     foreach (var packet in dict.Values.Where(packet => packet.packetType == Packet.PacketTypes.SMSG_SET_AI_ANIM_KIT && packet.index == index))
     {
         packet.parsedPacketsList.Add(animKitPacket);
         packet.UsedGuids.Add(animKitPacket.guid);
         return;
     }
 }