Beispiel #1
0
 /// <summary>
 /// Adds the headers for updating a creature.
 /// </summary>
 /// <param name="c">The creature to update.</param>
 /// <param name="type">The type of update being done.</param>
 private void UpdateCreatureHeaders(Creature creature, UpdateCreature type)
 {
     netmsg.AddU16(0x32); //Update header
     netmsg.AddU32(creature.GetID());
     netmsg.AddByte((byte)type);
 }
Beispiel #2
0
 /// <summary>
 /// Adds the headers for updating a creature.
 /// </summary>
 /// <param name="c">The creature to update.</param>
 /// <param name="type">The type of update being done.</param>
 private void UpdateCreatureHeaders(Creature creature, UpdateCreature type)
 {
     netmsg.AddU16(0x32); //Update header
     netmsg.AddU32(creature.GetID());
     netmsg.AddByte((byte)type);
 }