1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-24 13:47:46 +00:00

stubbed some more stuff, forgot to pass args to function

This commit is contained in:
Tahir Akhlaq 2017-07-12 18:46:39 +01:00
parent 7c08420206
commit f4687942af
2 changed files with 23 additions and 1 deletions

View file

@ -10,6 +10,7 @@ using FFXIVClassic_Map_Server.actors.chara;
using FFXIVClassic_Map_Server.actors.chara.ai;
using FFXIVClassic_Map_Server.actors.chara.ai.controllers;
using FFXIVClassic_Map_Server.packets.send.actor;
using FFXIVClassic_Map_Server.actors.chara.ai.state;
namespace FFXIVClassic_Map_Server.Actors
{
@ -49,5 +50,26 @@ namespace FFXIVClassic_Map_Server.Actors
// todo:
this.statusEffects.Update(tick);
}
///<summary> // todo: create an action object? </summary>
public bool OnAttack(AttackState state)
{
return false;
}
public override void Spawn(DateTime tick)
{
base.Spawn(tick);
}
public override void Die(DateTime tick)
{
base.Die(tick);
}
public void OnRoam(DateTime tick)
{
}
}
}

View file

@ -157,7 +157,7 @@ namespace FFXIVClassic_Map_Server.lua
if (!script.Globals.Get(functionName).IsNil())
{
res = script.Call(script.Globals.Get(functionName));
res = script.Call(script.Globals.Get(functionName), args);
}
}
}