mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
More static actors loaded and can be accessed anywhere. Improved lua scripting to allow small talk.
This commit is contained in:
@@ -33,7 +33,7 @@ namespace FFXIVClassic_Lobby_Server
|
||||
private List<ClientConnection> mConnectionList = new List<ClientConnection>();
|
||||
private LuaEngine mLuaEngine = new LuaEngine();
|
||||
private WorldManager mWorldManager;
|
||||
private StaticActors mStaticActors = new StaticActors();
|
||||
private static StaticActors mStaticActors = new StaticActors();
|
||||
private PacketProcessor mProcessor;
|
||||
private Thread mProcessorThread;
|
||||
private Thread mGameThread;
|
||||
@@ -143,6 +143,14 @@ namespace FFXIVClassic_Lobby_Server
|
||||
}
|
||||
}
|
||||
|
||||
public static Actor getStaticActors(string name)
|
||||
{
|
||||
if (mStaticActors == null)
|
||||
mStaticActors = new StaticActors();
|
||||
|
||||
return mStaticActors.findStaticActor(name);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Receive Callback. Reads in incoming data, converting them to base packets. Base packets are sent to be parsed. If not enough data at the end to build a basepacket, move to the beginning and prepend.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user