mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 12:47:46 +00:00
More merge fixes!
This commit is contained in:
parent
4dee26e136
commit
4032258e76
2 changed files with 3 additions and 2 deletions
|
@ -393,7 +393,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||||
zone.DespawnActor(this);
|
zone.DespawnActor(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Update(double deltaTime)
|
public void Update(DateTime tick)
|
||||||
{
|
{
|
||||||
var deltaTime = (tick - aiContainer.GetLatestUpdate()).Milliseconds;
|
var deltaTime = (tick - aiContainer.GetLatestUpdate()).Milliseconds;
|
||||||
LuaEngine.GetInstance().CallLuaFunction(null, this, "onUpdate", true, deltaTime);
|
LuaEngine.GetInstance().CallLuaFunction(null, this, "onUpdate", true, deltaTime);
|
||||||
|
|
|
@ -1431,6 +1431,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||||
ActorPropertyPacketUtil propPacketUtil = new ActorPropertyPacketUtil("work/guildleve", this);
|
ActorPropertyPacketUtil propPacketUtil = new ActorPropertyPacketUtil("work/guildleve", this);
|
||||||
propPacketUtil.AddProperty(String.Format("work.guildleveDone[{0}]", slot));
|
propPacketUtil.AddProperty(String.Format("work.guildleveDone[{0}]", slot));
|
||||||
propPacketUtil.AddProperty(String.Format("work.guildleveChecked[{0}]", slot));
|
propPacketUtil.AddProperty(String.Format("work.guildleveChecked[{0}]", slot));
|
||||||
|
QueuePackets(propPacketUtil.Done());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetLoginDirector(Director director)
|
public void SetLoginDirector(Director director)
|
||||||
|
@ -1555,7 +1556,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||||
public void EndEvent()
|
public void EndEvent()
|
||||||
{
|
{
|
||||||
SubPacket p = EndEventPacket.BuildPacket(actorId, currentEventOwner, currentEventName);
|
SubPacket p = EndEventPacket.BuildPacket(actorId, currentEventOwner, currentEventName);
|
||||||
//p.DebugPrintSubPacket();
|
p.DebugPrintSubPacket();
|
||||||
QueuePacket(p);
|
QueuePacket(p);
|
||||||
|
|
||||||
currentEventOwner = 0;
|
currentEventOwner = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue