public SNpc?GetNpcById(int id)
        {
            SNpc v = new SNpc();

            if (WowDatabase_getNpcById(id, out v))
            {
                return(v);
            }
            return(null);
        }
        public SNpc?GetNpc(uint index)
        {
            SNpc v = new SNpc();

            if (WowDatabase_getNpc(index, out v))
            {
                return(v);
            }
            return(null);
        }
Beispiel #3
0
 public static extern bool WowDatabase_getNpcById(
     int id,
     out SNpc npc);
Beispiel #4
0
 public static extern bool WowDatabase_getNpc(
     uint index,
     out SNpc npc);