public void Add(CreatureTemplate _cr) { CreatureTemplateMap.Add(_cr.entry, _cr); }
public CreatureTemplate GetCreatureTemplate(UInt32 _entry) { CreatureTemplate _cr = new CreatureTemplate(); foreach (KeyValuePair<UInt32, CreatureTemplate> o in CreatureTemplateMap) { if (o.Value.entry == _entry) { return o.Value; } } return _cr; }