mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-18 07:13:49 +02:00
stubbed some more functions
This commit is contained in:
parent
84d5eee1fc
commit
7ab40a30f1
7 changed files with 108 additions and 9 deletions
|
@ -125,6 +125,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
this.instance = instance;
|
||||
|
||||
GenerateActorName((int)actorNumber);
|
||||
this.aiContainer = new AIContainer(this, null, new PathFind(this), new TargetFind(null));
|
||||
}
|
||||
|
||||
public SubPacket CreateAddActorPacket()
|
||||
|
@ -393,7 +394,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
zone.DespawnActor(this);
|
||||
}
|
||||
|
||||
public void Update(DateTime tick)
|
||||
public override void Update(DateTime tick)
|
||||
{
|
||||
var deltaTime = (tick - aiContainer.GetLatestUpdate()).Milliseconds;
|
||||
LuaEngine.GetInstance().CallLuaFunction(null, this, "onUpdate", true, deltaTime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue