mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-24 03:20:30 +02:00
Cleaned up the code and fixed a bunch of bugs. Map server will no longer worry about base packets.
This commit is contained in:
parent
08477780f8
commit
3370309dd0
20 changed files with 94 additions and 142 deletions
|
@ -31,15 +31,16 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
|||
actorInstanceList.Add(playerActor);
|
||||
}
|
||||
|
||||
public void QueuePacket(BasePacket basePacket)
|
||||
public void QueuePacket(List<SubPacket> packets)
|
||||
{
|
||||
Server.GetWorldConnection().QueuePacket(basePacket);
|
||||
foreach (SubPacket s in packets)
|
||||
QueuePacket(s);
|
||||
}
|
||||
|
||||
public void QueuePacket(SubPacket subPacket)
|
||||
{
|
||||
subPacket.SetTargetId(id);
|
||||
Server.GetWorldConnection().QueuePacket(subPacket, true, false);
|
||||
Server.GetWorldConnection().QueuePacket(subPacket);
|
||||
}
|
||||
|
||||
public Player GetActor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue