added status effect loading

- todo: populate table (and test this doesnt break everything ever), send charawork and message packets
This commit is contained in:
Tahir Akhlaq 2017-07-15 19:33:47 +01:00
parent 13af16ec0e
commit d9d185d7e6
12 changed files with 360 additions and 379 deletions

View file

@ -1123,6 +1123,17 @@ namespace FFXIVClassic_Map_Server
return null;
}
public void LoadStatusEffects()
{
effectList = Database.LoadGlobalStatusEffectList();
}
public StatusEffect GetStatusEffect(uint id)
{
StatusEffect effect;
return effectList.TryGetValue(id, out effect) ? new StatusEffect(null, effect) : null;
}
}
}