示例#1
0
文件: Poke.cs 项目: tianqihou/tools
 private npc_type GetNpc(ReadAndWrite rw, int num)
 {
     if (num > MAX_NUM)
     {
         num  -= MAX_NUM;
         table = TABLE_EXPANDED;
     }
     else
     {
         table = TABLE_DEAFAULT;
     }
     this.num = num;
     return((npc_type)rw.GetStruct(table, num, typeof(npc_type)));
 }