诛仙Npcgen.data Hex View 结构。
用在某个工具上的,查看数据非常方面,感觉棒极了。。。
struct NpcData1
{
int b1[10];
char b2[4];
int b3[4];
};
struct Block1_Npcs
{
int a1;
int a2;
float a3[9];
int a4[2];
char a5[3];
int a6[6];
if(a2 > 0)
{
NpcData1 a7[a2];
}
if(a6[5] > 0)
{
int a8[a6[5]];
}
};
struct NpcData2
{
int b1[5];
};
struct Block2_Npcs
{
float a1[5];
int a2;
char a3[3];
int a4;
char a5[3];
int a6[3];
int a7;
if(a2 > 0)
{
NpcData2 a8[a2];
}
if(a7 > 0)
{
int a9[a7];
}
};
struct Block3_Npcs
{
int a1;
float a2[4];
int a3;
};
struct Block4_Npcs
{
int a1;
int a2;
char a3[128];
char a4;
int a5;
int a6;
char a7;
char a8;
int a9[12];
char a10;
float a11;
};
public struct NpcGen
{
int signature;
var num1 = 0;
var num2 = 0;
var num3 = 0;
var num4 = 0;
int Count1;
int Count2;
int Count3;
int Count4;
num1 = Count1;
num2 = Count2;
num3 = Count3;
num4 = Count4;
Block1_Npcs block1_Npcs[num1];
Block2_Npcs block2_Npcs[num2];
Block3_Npcs block3_Npcs[num3];
Block4_Npcs block4_Npcs[num4];
};
{
int b1[10];
char b2[4];
int b3[4];
};
struct Block1_Npcs
{
int a1;
int a2;
float a3[9];
int a4[2];
char a5[3];
int a6[6];
if(a2 > 0)
{
NpcData1 a7[a2];
}
if(a6[5] > 0)
{
int a8[a6[5]];
}
};
struct NpcData2
{
int b1[5];
};
struct Block2_Npcs
{
float a1[5];
int a2;
char a3[3];
int a4;
char a5[3];
int a6[3];
int a7;
if(a2 > 0)
{
NpcData2 a8[a2];
}
if(a7 > 0)
{
int a9[a7];
}
};
struct Block3_Npcs
{
int a1;
float a2[4];
int a3;
};
struct Block4_Npcs
{
int a1;
int a2;
char a3[128];
char a4;
int a5;
int a6;
char a7;
char a8;
int a9[12];
char a10;
float a11;
};
public struct NpcGen
{
int signature;
var num1 = 0;
var num2 = 0;
var num3 = 0;
var num4 = 0;
int Count1;
int Count2;
int Count3;
int Count4;
num1 = Count1;
num2 = Count2;
num3 = Count3;
num4 = Count4;
Block1_Npcs block1_Npcs[num1];
Block2_Npcs block2_Npcs[num2];
Block3_Npcs block3_Npcs[num3];
Block4_Npcs block4_Npcs[num4];
};