mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Finished refactoring Map Server. Clear of syntax errors.
This commit is contained in:
parent
d8ac8216c4
commit
7c4091a196
89 changed files with 211 additions and 188 deletions
|
@ -135,13 +135,17 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
|||
if (actor is Character && ((Character)actor).isStatic)
|
||||
continue;
|
||||
|
||||
GetActor().QueuePacket(actor.CreatePositionUpdatePacket(playerActor.actorId));
|
||||
GetActor().QueuePacket(actor.CreatePositionUpdatePacket());
|
||||
}
|
||||
else
|
||||
{
|
||||
GetActor().QueuePacket(actor.GetSpawnPackets(playerActor.actorId, 1));
|
||||
GetActor().QueuePacket(actor.GetInitPackets(playerActor.actorId));
|
||||
GetActor().QueuePacket(actor.GetSetEventStatusPackets(playerActor.actorId));
|
||||
if (actor is Player)
|
||||
GetActor().QueuePacket(actor.GetSpawnPackets(playerActor, 1));
|
||||
else
|
||||
GetActor().QueuePacket(actor.GetSpawnPackets(1));
|
||||
|
||||
GetActor().QueuePacket(actor.GetInitPackets());
|
||||
GetActor().QueuePacket(actor.GetSetEventStatusPackets());
|
||||
actorInstanceList.Add(actor);
|
||||
|
||||
if (actor is Npc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue