mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Removed NLua and replaced it with MoonSharp. Scripting for NPCs has been implemented, but still have to test a lot.
This commit is contained in:
@@ -25,17 +25,29 @@ namespace FFXIVClassic_Lobby_Server
|
||||
public const int BUFFER_SIZE = 0x400;
|
||||
public const int BACKLOG = 100;
|
||||
|
||||
private static Server mSelf;
|
||||
|
||||
private Socket mServerSocket;
|
||||
|
||||
private Dictionary<uint,ConnectedPlayer> mConnectedPlayerList = new Dictionary<uint,ConnectedPlayer>();
|
||||
private List<ClientConnection> mConnectionList = new List<ClientConnection>();
|
||||
private LuaEngine luaEngine = new LuaEngine();
|
||||
private LuaEngine mLuaEngine = new LuaEngine();
|
||||
private WorldManager mWorldManager;
|
||||
private StaticActors mStaticActors = new StaticActors();
|
||||
private PacketProcessor mProcessor;
|
||||
private Thread mProcessorThread;
|
||||
private Thread mGameThread;
|
||||
|
||||
public Server()
|
||||
{
|
||||
mSelf = this;
|
||||
}
|
||||
|
||||
public static Server getServer()
|
||||
{
|
||||
return mSelf;
|
||||
}
|
||||
|
||||
#region Socket Handling
|
||||
public bool startServer()
|
||||
{
|
||||
@@ -353,6 +365,11 @@ namespace FFXIVClassic_Lobby_Server
|
||||
}
|
||||
}
|
||||
|
||||
public LuaEngine GetLuaEngine()
|
||||
{
|
||||
return mLuaEngine;
|
||||
}
|
||||
|
||||
public WorldManager GetWorldManager()
|
||||
{
|
||||
return mWorldManager;
|
||||
|
||||
Reference in New Issue
Block a user