Пример #1
0
 public Monster(MonsterInGroupLightInformations informations, EntityLook look)
 {
     Look           = look;
     m_monster      = ObjectDataManager.Instance.Get <Protocol.Data.Monster>(informations.creatureGenericId);
     m_monsterGrade = m_monster.grades[informations.grade - 1];
     m_race         = ObjectDataManager.Instance.Get <MonsterRace>(m_monster.race);
     m_superRace    = ObjectDataManager.Instance.Get <MonsterSuperRace>(m_race.superRaceId);
 }
Пример #2
0
 public Monster(MonsterInGroupLightInformations informations, EntityLook look)
 {
     Look = look;
     m_monster = DataProvider.Instance.Get<Protocol.Data.Monster>(informations.creatureGenericId);
     m_monsterGrade = m_monster.grades[informations.grade - 1];
     m_race = DataProvider.Instance.Get<MonsterRace>(m_monster.race);
     m_superRace = DataProvider.Instance.Get<MonsterSuperRace>(m_race.superRaceId);
 }
Пример #3
0
 public Monster(int id)
 {
     m_monster = DataProvider.Instance.Get<Protocol.Data.Monster>(id);
     m_race = DataProvider.Instance.Get<Protocol.Data.MonsterRace>(m_monster.race);
     m_superRace = DataProvider.Instance.Get<Protocol.Data.MonsterSuperRace>(m_race.superRaceId);
 }