mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04: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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user