Exemplo n.º 1
0
 //CC後のクラス
 public static uint GetHighClass(uint uid)
 {
     if (Program.ROM.RomInfo.version() <= 7)
     {
         return(UnitFE7Form.GetHighClassFE7(uid));
     }
     Debug.Assert(false); //未実装
     return(U.NOT_FOUND);
 }
Exemplo n.º 2
0
 public static uint GetPaletteHighClass(uint uid)
 {
     if (Program.ROM.RomInfo.version() == 7)
     {
         return(UnitFE7Form.GetPaletteHighClass(uid));
     }
     if (Program.ROM.RomInfo.version() == 6)
     {
         return(UnitFE6Form.GetPaletteHighClass(uid));
     }
     //FE8の場合、CC分岐があるので、別途構造体で定義. UnitPaletteForm.cs
     return(U.NOT_FOUND);
 }
Exemplo n.º 3
0
        public static string GetNameWhereCustomBattleAnime(uint custom_battle_id)
        {
            if (custom_battle_id == 0)
            {
                return("");
            }

            if (Program.ROM.RomInfo.version() != 7)
            {//専用アニメはFE7だけ?
                return("");
            }
            return(UnitFE7Form.GetNameWhereCustomBattleAnime(custom_battle_id));
        }