mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 13:34:38 +02:00
Built subpackets to let the zone servers talk to the world server. Implemented cross-server zoning but the E2 packet or something isn't being sent.
This commit is contained in:
parent
58fda93b45
commit
e30831fdc5
27 changed files with 674 additions and 113 deletions
|
@ -95,6 +95,9 @@ namespace FFXIVClassic_Map_Server
|
|||
|
||||
public Session AddSession(uint id)
|
||||
{
|
||||
if (mSessionList.ContainsKey(id))
|
||||
return mSessionList[id];
|
||||
|
||||
Session session = new Session(id);
|
||||
mSessionList.Add(id, session);
|
||||
return session;
|
||||
|
@ -104,8 +107,7 @@ namespace FFXIVClassic_Map_Server
|
|||
{
|
||||
if (mSessionList.ContainsKey(id))
|
||||
{
|
||||
mSessionList[id].GetActor().CleanupAndSave();
|
||||
mSessionList.Remove(id);
|
||||
mSessionList.Remove(id);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -244,6 +246,11 @@ namespace FFXIVClassic_Map_Server
|
|||
|
||||
#endregion
|
||||
|
||||
public static ZoneConnection GetWorldConnection()
|
||||
{
|
||||
return mWorldConnection;
|
||||
}
|
||||
|
||||
public static Server GetServer()
|
||||
{
|
||||
return mSelf;
|
||||
|
@ -252,12 +259,7 @@ namespace FFXIVClassic_Map_Server
|
|||
public static CommandProcessor GetCommandProcessor()
|
||||
{
|
||||
return mCommandProcessor;
|
||||
}
|
||||
|
||||
public static ZoneConnection GetWorldConnection()
|
||||
{
|
||||
return mWorldConnection;
|
||||
}
|
||||
}
|
||||
|
||||
public static WorldManager GetWorldManager()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue