コード例 #1
0
        public static IText Create_IText(int id)
        {
            IText it = null;

            switch (id)
            {
            case 0x69: it = new BattleHelp(); break;

            case 0x243F: it = new StageInfoData(); break;

            case 0x2A8D: it = new DownloadParam(); break;

            case 0x2A8E: it = new DungeonList(); break;

            case 0x6A: it = new BlockText(true, false, false, 0x30, 0x50, "DebugBattleSettings"); break;

            case 0x2A94: it = new BlockText(false, false, false, 0x40, 0, "ImagenArea"); break;

            case 0x2A95: it = new BlockText(false, false, true, 0x08, 0, "ImagenName"); break;

            case 0x2A96: it = new BlockText(true, true, true, 0x10, 0xA4, "ImagenParam"); break;

            case 0x2A97: it = new BlockText(false, false, false, 0x100, 0, "ImagenText"); break;

            case 0x2A98: it = new BlockText(false, false, false, 0x72, 0, "EquipGetInfo"); break;

            case 0x2A99: it = new BlockText(false, false, false, 0xC4, 0, "EquipItemInfo"); break;

            case 0x2A9A: it = new BlockText(false, false, false, 0x51, 0, "EquipItemLinkInfo"); break;

            case 0x2A9B: it = new BlockText(true, true, true, 0x20, 0x30, "EquipItemParam"); break;

            case 0x2A9C: it = new BlockText(false, false, false, 0x72, 0, "ItemGetInfo"); break;

            case 0x2A9D: it = new BlockText(false, false, false, 0xC4, 0, "ItemInfo"); break;

            case 0x2A9E: it = new BlockText(false, false, false, 0x51, 0, "ItemLinkInfo"); break;

            case 0x2A9F: it = new BlockText(true, true, true, 0x20, 0x4C, "ItemParam"); break;

            case 0x2AA0: it = new BlockText(false, false, false, 0x72, 0, "SpItemGetInfo"); break;

            case 0x2AA1: it = new BlockText(false, false, false, 0xC4, 0, "SpItemInfo"); break;

            case 0x2AA2: it = new BlockText(true, true, true, 0x20, 0x10, "SpItemParam"); break;

            case 0x2AA3: it = new BlockText(true, false, false, 0xC4, 0, "MagicInfo"); break;

            case 0x2AA4: it = new BlockText(true, false, true, 0x12, 0x2E, "MagicParam"); break;

            case 0x2AA6: it = new BlockText(true, false, true, 0x11, 0x2C, "PlayerName"); break;

            case 0x2AAB: it = new BlockText(true, false, false, 0xC4, 0, "SkillInfo"); break;

            case 0x2AAC: it = new BlockText(true, false, true, 0x12, 0x2A, "SkillParam"); break;

            default: it = null; break;
            }
            return(it);
        }
コード例 #2
0
ファイル: TextControl.cs プロジェクト: MetLob/tinke
        public static IText Create_IText(int id)
        {
            IText it = null;
            switch (id)
            {
                case 0x69: it = new BattleHelp(); break;
                case 0x243F: it = new StageInfoData(); break;
                case 0x2A8D: it = new DownloadParam(); break;
                case 0x2A8E: it = new DungeonList(); break;

                case 0x6A: it = new BlockText(true, false, false, 0x30, 0x50, "DebugBattleSettings"); break;
                case 0x2A94: it = new BlockText(false, false, false, 0x40, 0, "ImagenArea"); break;
                case 0x2A95: it = new BlockText(false, false, true, 0x08, 0, "ImagenName"); break;
                case 0x2A96: it = new BlockText(true, true, true, 0x10, 0xA4, "ImagenParam"); break;
                case 0x2A97: it = new BlockText(false, false, false, 0x100, 0, "ImagenText"); break;
                case 0x2A98: it = new BlockText(false, false, false, 0x72, 0, "EquipGetInfo"); break;
                case 0x2A99: it = new BlockText(false, false, false, 0xC4, 0, "EquipItemInfo"); break;
                case 0x2A9A: it = new BlockText(false, false, false, 0x51, 0, "EquipItemLinkInfo"); break;
                case 0x2A9B: it = new BlockText(true, true, true, 0x20, 0x30, "EquipItemParam"); break;
                case 0x2A9C: it = new BlockText(false, false, false, 0x72, 0, "ItemGetInfo"); break;
                case 0x2A9D: it = new BlockText(false, false, false, 0xC4, 0, "ItemInfo"); break;
                case 0x2A9E: it = new BlockText(false, false, false, 0x51, 0, "ItemLinkInfo"); break;
                case 0x2A9F: it = new BlockText(true, true, true, 0x20, 0x4C, "ItemParam"); break;
                case 0x2AA0: it = new BlockText(false, false, false, 0x72, 0, "SpItemGetInfo"); break;
                case 0x2AA1: it = new BlockText(false, false, false, 0xC4, 0, "SpItemInfo"); break;
                case 0x2AA2: it = new BlockText(true, true, true, 0x20, 0x10, "SpItemParam"); break;
                case 0x2AA3: it = new BlockText(true, false, false, 0xC4, 0, "MagicInfo"); break;
                case 0x2AA4: it = new BlockText(true, false, true, 0x12, 0x2E, "MagicParam"); break;
                case 0x2AA6: it = new BlockText(true, false, true, 0x11, 0x2C, "PlayerName"); break;
                case 0x2AAB: it = new BlockText(true, false, false, 0xC4, 0, "SkillInfo"); break;
                case 0x2AAC: it = new BlockText(true, false, true, 0x12, 0x2A, "SkillParam"); break;

                default: it = null; break;
            }
            return it;
        }