mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Added way to instantiate a GL Director. Aetheryte parent now does it.
This commit is contained in:
parent
8ccd3439c1
commit
25cd75d40c
@ -501,6 +501,17 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
}
|
||||
}
|
||||
|
||||
public Director CreateGuildleveDirector(string path, uint glid, params object[] args)
|
||||
{
|
||||
lock (directorLock)
|
||||
{
|
||||
GuildleveDirector director = new GuildleveDirector(directorIdCount, this, path, glid, args);
|
||||
currentDirectors.Add(directorIdCount, director);
|
||||
directorIdCount++;
|
||||
return director;
|
||||
}
|
||||
}
|
||||
|
||||
public void DeleteDirector(uint id)
|
||||
{
|
||||
lock (directorLock)
|
||||
|
@ -120,7 +120,7 @@ function doLevequestInit(player, aetheryte)
|
||||
if (difficulty == nil) then goto SELECT_DETAIL; end
|
||||
confirmResult = callClientFunction(player, "eventGLStart", glId, difficulty, 1, guildleveData.favorCount, 20, 0, 0, 0, 0);
|
||||
if (confirmResult == nil) then goto SELECT_DIFFICULTY; else
|
||||
director = player:GetZone():CreateDirector("Guildleve/PrivateGLBattleDetectNormal");
|
||||
director = player:GetZone():CreateGuildleveDirector("Guildleve/PrivateGLBattleDetectNormal", glId);
|
||||
player:AddDirector(director);
|
||||
director:StartDirector(true, glId)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user