Beispiel #1
0
 public static void test4()
 {
     string[] descList =
     {
         "索引",
         "名字",
         "技能1id",
         "技能1概率",
         "技能2id",
         "技能2概率",
         "声望概率",
         "声望id",
     };
     string[] nameList =
     {
         "id",
         "name",
         "skill#id",
         "skill#rate",
         "skill#id",
         "skill#rate",
         "repu#rate",
         "repu#id",
     };
     string[] typeList =
     {
         "INT",
         "STRING",
         "ST_ARRAY#INT$1",
         "ST_ARRAY#INT$1",
         "ST_ARRAY#INT$2",
         "ST_ARRAY#INT$2",
         "ST#FLOAT",
         "ST#INT",
     };
     ParseManager.GetInstance().BeginMessage("test", descList.ToList(), nameList.ToList(), typeList.ToList());
     ParseManager.GenerateProto("");
 }