mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +02: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:
parent
74be19c51d
commit
300748668f
27 changed files with 22603 additions and 136 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue