From 34b9ede404634588b41bc819cee129aa15f40710 Mon Sep 17 00:00:00 2001 From: JianMiau Date: Sun, 5 Jun 2022 15:05:54 +0800 Subject: [PATCH] =?UTF-8?q?[add]=20=E8=AE=80=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 13 + package.json | 1 + src/main.ts | 2 - src/script/BJ_Casino_BotController.ts | 20 +- src/script/BJ_Casino_Bot_Lobby.ts | 15 + src/script/Common/Game/Base/SlotBase.ts | 11 +- src/script/Common/Game/Slot50.ts | 2 + src/script/Common/Game/Slot62.ts | 7 - src/script/Common/MainControl/MainControl.ts | 75 +++ src/script/Engine/CatanEngine.meta | 12 - src/script/Engine/CatanEngine/CSharp.meta | 12 - .../Engine/CatanEngine/CSharp/String.ts.meta | 9 - .../Engine/CatanEngine/CSharp/System.meta | 12 - .../CatanEngine/CSharp/System/Action.ts.meta | 9 - .../CSharp/System/ActionExample.ts.meta | 9 - .../CSharp/System/ActionWithType.ts.meta | 9 - .../CSharp/System/ActionWithType2.ts.meta | 9 - .../CatanEngine/CSharp/System/Text.meta | 12 - .../CSharp/System/Text/Encoding.ts.meta | 9 - .../Engine/CatanEngine/CoroutineV2.meta | 12 - .../CancellationTokenSource.ts.meta | 9 - .../Engine/CatanEngine/CoroutineV2/Core.meta | 12 - .../CoroutineV2/Core/ActionEnumerator.ts.meta | 9 - .../CoroutineV2/Core/BaseEnumerator.ts | 65 +- .../CoroutineV2/Core/BaseEnumerator.ts.meta | 9 - .../CoroutineV2/Core/CoroutineExecutor.ts | 4 +- .../Core/CoroutineExecutor.ts.meta | 9 - .../Core/EnumeratorExecutor.ts.meta | 9 - .../Core/ParallelEnumerator.ts.meta | 9 - .../CoroutineV2/Core/SingleEnumerator.ts.meta | 9 - .../Core/WaitTimeEnumerator.ts.meta | 9 - .../CoroutineV2/CoroutineExample.ts.meta | 9 - .../CatanEngine/CoroutineV2/CoroutineV2.ts | 14 +- .../CoroutineV2/CoroutineV2.ts.meta | 9 - .../CoroutineV2/IEnumeratorV2.ts.meta | 9 - .../Engine/CatanEngine/NetManagerV2.meta | 12 - .../Engine/CatanEngine/NetManagerV2/Core.meta | 12 - .../NetManagerV2/Core/INetConnector.ts.meta | 9 - .../NetManagerV2/Core/INetRequest.ts.meta | 9 - .../NetManagerV2/Core/INetResponse.ts.meta | 9 - .../CatanEngine/NetManagerV2/Examples.meta | 12 - .../NetManagerV2/Examples/NetTester.ts.meta | 9 - .../Examples/Slot1_SpinRequestExample.ts.meta | 9 - .../NetManagerV2/NetConfig.ts.meta | 9 - .../NetManagerV2/NetConnector.ts.meta | 9 - .../NetManagerV2/NetManager.ts.meta | 9 - .../NetManagerV2/NetRequest.ts.meta | 9 - src/script/Engine/CatanEngine/NoSleep.ts.meta | 9 - src/script/Engine/CatanEngine/TableV3.meta | 12 - .../CatanEngine/TableV3/Core/ITableJson.ts | 4 + .../CatanEngine/TableV3/Core/ITableRow.ts | 10 + .../CatanEngine/TableV3/Core/TableBase.ts | 21 + .../TableV3/Examples/CSSettingsV3Example.ts | 13 + .../TableV3/Examples/TableUseExample.ts | 82 +++ .../Examples/Tables/StringTableExample.ts | 45 ++ .../CatanEngine/TableV3/TableManager.ts | 48 ++ .../CatanEngine/公司自架接功能.txt.meta | 5 - src/script/Engine/Component.meta | 12 - src/script/Engine/Data.meta | 12 - src/script/Engine/HotUpdate.meta | 12 - src/script/Engine/Utils.meta | 12 - src/script/Engine/Utils/Act.meta | 12 - src/script/Engine/Utils/Act/Shake.ts.meta | 9 - src/script/Engine/Utils/Audio.meta | 12 - src/script/Engine/Utils/Audio/CSAudio.ts.meta | 9 - .../Engine/Utils/Audio/CSCommonAudios.ts.meta | 9 - src/script/Engine/Utils/Bezier.meta | 12 - src/script/Engine/Utils/Bezier/Bezier.ts.meta | 9 - src/script/Engine/Utils/CCExtensions.meta | 12 - .../Utils/CCExtensions/ArrayExtension.ts.meta | 9 - .../Utils/CCExtensions/CCExtension.ts.meta | 9 - .../CCExtensions/NumberExtension.ts.meta | 9 - src/script/Engine/Utils/Number.meta | 12 - .../Engine/Utils/Number/NumberEx.ts.meta | 9 - .../Engine/Utils/Number/RandomEx.ts.meta | 9 - src/script/Engine/Utils/ScrollView.meta | 12 - .../Utils/ScrollView/UISuperItem.ts.meta | 9 - .../Utils/ScrollView/UISuperLayout.ts.meta | 9 - .../ScrollView/UISuperScrollView.ts.meta | 9 - src/script/FormTable/CSSettingsV3.ts | 574 ++++++++++++++++ src/script/FormTable/LoadingInit.ts | 108 +++ .../Manage/Currency/CurrencyManager.ts | 38 ++ .../Manage/Language/LanguageManager.ts | 59 ++ .../Language/ScenceLanguageSourceSet.ts | 107 +++ .../FormTable/TableExt/CSSettingsV3Ext.ts | 214 ++++++ .../TableExt/ClipsHandleBySoundTable.ts | 85 +++ .../FormTable/TableExt/FixedTableExt.ts | 18 + .../FormTable/TableExt/MonkeytowerTableExt.ts | 93 +++ .../FormTable/TableExt/StringTableExt.ts | 56 ++ src/script/FormTable/Tables/Bar1401Table.ts | 153 +++++ .../FormTable/Tables/BetSettingTable.ts | 103 +++ .../FormTable/Tables/Bingo8starsTable.ts | 109 +++ .../FormTable/Tables/Bingo9starsTable.ts | 77 +++ src/script/FormTable/Tables/BingoTable.ts | 83 +++ .../FormTable/Tables/CardUpgradeTable.ts | 45 ++ src/script/FormTable/Tables/ChatTable.ts | 81 +++ .../FormTable/Tables/Cluster1302Table.ts | 249 +++++++ .../FormTable/Tables/Cluster1303Table.ts | 249 +++++++ .../FormTable/Tables/Collect001Table.ts | 139 ++++ .../FormTable/Tables/Collect002Table.ts | 29 + src/script/FormTable/Tables/CompositeTable.ts | 35 + src/script/FormTable/Tables/CurrencyTable.ts | 18 + src/script/FormTable/Tables/Fish2003Table.ts | 421 ++++++++++++ src/script/FormTable/Tables/Fish2004Table.ts | 435 ++++++++++++ src/script/FormTable/Tables/FiveTable.ts | 67 ++ src/script/FormTable/Tables/FixedTable.ts | 16 + src/script/FormTable/Tables/FormreadTable.ts | 51 ++ src/script/FormTable/Tables/GiftTable.ts | 67 ++ src/script/FormTable/Tables/HeadTable.ts | 20 + .../FormTable/Tables/ItemSettingTable.ts | 105 +++ src/script/FormTable/Tables/ItemdropTable.ts | 83 +++ src/script/FormTable/Tables/ItemmoneyTable.ts | 31 + src/script/FormTable/Tables/LanguageTable.ts | 35 + src/script/FormTable/Tables/LevelTable.ts | 48 ++ src/script/FormTable/Tables/LineTable.ts | 89 +++ src/script/FormTable/Tables/LobbyTable.ts | 81 +++ src/script/FormTable/Tables/MailTable.ts | 29 + .../FormTable/Tables/MonkeytowerTable.ts | 619 ++++++++++++++++++ src/script/FormTable/Tables/NameTable.ts | 25 + src/script/FormTable/Tables/NetworkTable.ts | 81 +++ src/script/FormTable/Tables/NineSicboTable.ts | 139 ++++ .../FormTable/Tables/NormalBaccaratTable.ts | 149 +++++ src/script/FormTable/Tables/OperationTable.ts | 67 ++ src/script/FormTable/Tables/PacketTable.ts | 77 +++ src/script/FormTable/Tables/RankTable.ts | 56 ++ src/script/FormTable/Tables/ShopTable.ts | 129 ++++ src/script/FormTable/Tables/Slot001Table.ts | 175 +++++ src/script/FormTable/Tables/Slot002Table.ts | 181 +++++ src/script/FormTable/Tables/Slot003Table.ts | 133 ++++ src/script/FormTable/Tables/Slot004Table.ts | 117 ++++ src/script/FormTable/Tables/Slot005Table.ts | 133 ++++ src/script/FormTable/Tables/Slot006Table.ts | 147 +++++ src/script/FormTable/Tables/Slot007Table.ts | 133 ++++ src/script/FormTable/Tables/Slot008Table.ts | 133 ++++ src/script/FormTable/Tables/Slot009Table.ts | 137 ++++ src/script/FormTable/Tables/Slot010Table.ts | 187 ++++++ src/script/FormTable/Tables/Slot011Table.ts | 151 +++++ src/script/FormTable/Tables/Slot012Table.ts | 117 ++++ src/script/FormTable/Tables/Slot013Table.ts | 117 ++++ src/script/FormTable/Tables/Slot014Table.ts | 129 ++++ src/script/FormTable/Tables/Slot015Table.ts | 151 +++++ src/script/FormTable/Tables/Slot016Table.ts | 147 +++++ src/script/FormTable/Tables/Slot017Table.ts | 147 +++++ src/script/FormTable/Tables/Slot018Table.ts | 165 +++++ src/script/FormTable/Tables/Slot019Table.ts | 109 +++ src/script/FormTable/Tables/Slot020Table.ts | 147 +++++ src/script/FormTable/Tables/Slot021Table.ts | 155 +++++ src/script/FormTable/Tables/Slot022Table.ts | 121 ++++ src/script/FormTable/Tables/Slot023Table.ts | 181 +++++ src/script/FormTable/Tables/Slot024Table.ts | 131 ++++ src/script/FormTable/Tables/Slot025Table.ts | 173 +++++ src/script/FormTable/Tables/Slot026Table.ts | 117 ++++ src/script/FormTable/Tables/Slot027Table.ts | 151 +++++ src/script/FormTable/Tables/Slot028Table.ts | 131 ++++ src/script/FormTable/Tables/Slot029Table.ts | 143 ++++ src/script/FormTable/Tables/Slot030Table.ts | 117 ++++ src/script/FormTable/Tables/Slot031Table.ts | 133 ++++ src/script/FormTable/Tables/Slot032Table.ts | 171 +++++ src/script/FormTable/Tables/Slot033Table.ts | 133 ++++ src/script/FormTable/Tables/Slot034Table.ts | 185 ++++++ src/script/FormTable/Tables/Slot035Table.ts | 121 ++++ src/script/FormTable/Tables/Slot036Table.ts | 143 ++++ src/script/FormTable/Tables/Slot037Table.ts | 149 +++++ src/script/FormTable/Tables/Slot038Table.ts | 149 +++++ src/script/FormTable/Tables/Slot039Table.ts | 143 ++++ src/script/FormTable/Tables/Slot040Table.ts | 131 ++++ src/script/FormTable/Tables/Slot041Table.ts | 133 ++++ src/script/FormTable/Tables/Slot042Table.ts | 217 ++++++ src/script/FormTable/Tables/Slot043Table.ts | 139 ++++ src/script/FormTable/Tables/Slot044Table.ts | 139 ++++ src/script/FormTable/Tables/Slot045Table.ts | 133 ++++ src/script/FormTable/Tables/Slot047Table.ts | 137 ++++ src/script/FormTable/Tables/Slot048Table.ts | 147 +++++ src/script/FormTable/Tables/Slot049Table.ts | 187 ++++++ src/script/FormTable/Tables/Slot050Table.ts | 149 +++++ src/script/FormTable/Tables/Slot051Table.ts | 187 ++++++ src/script/FormTable/Tables/Slot052Table.ts | 115 ++++ src/script/FormTable/Tables/Slot054Table.ts | 137 ++++ src/script/FormTable/Tables/Slot055Table.ts | 181 +++++ src/script/FormTable/Tables/Slot056Table.ts | 151 +++++ src/script/FormTable/Tables/Slot058Table.ts | 147 +++++ src/script/FormTable/Tables/Slot059Table.ts | 131 ++++ src/script/FormTable/Tables/Slot060Table.ts | 133 ++++ src/script/FormTable/Tables/Slot061Table.ts | 145 ++++ src/script/FormTable/Tables/Slot062Table.ts | 149 +++++ src/script/FormTable/Tables/Slot064Table.ts | 133 ++++ src/script/FormTable/Tables/Slot1201Table.ts | 157 +++++ src/script/FormTable/Tables/Slot1202Table.ts | 135 ++++ src/script/FormTable/Tables/Slot1501Table.ts | 311 +++++++++ src/script/FormTable/Tables/Slot1701Table.ts | 129 ++++ src/script/FormTable/Tables/SlotsetTable.ts | 32 + src/script/FormTable/Tables/SoundTable.ts | 22 + src/script/FormTable/Tables/StringTable.ts | 40 ++ .../FormTable/Tables/Super6BaccaratTable.ts | 151 +++++ src/script/FormTable/Tables/Table3031Table.ts | 155 +++++ .../FormTable/Tables/TripleBaccaratTable.ts | 149 +++++ src/script/FormTable/Tables/TwoSicboTable.ts | 139 ++++ src/script/FormTable/Tables/VipTable.ts | 149 +++++ 進度表.txt | 8 + 199 files changed, 16352 insertions(+), 639 deletions(-) create mode 100644 src/script/Common/MainControl/MainControl.ts delete mode 100644 src/script/Engine/CatanEngine.meta delete mode 100644 src/script/Engine/CatanEngine/CSharp.meta delete mode 100644 src/script/Engine/CatanEngine/CSharp/String.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CSharp/System.meta delete mode 100644 src/script/Engine/CatanEngine/CSharp/System/Action.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CSharp/System/ActionExample.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CSharp/System/ActionWithType.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CSharp/System/ActionWithType2.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CSharp/System/Text.meta delete mode 100644 src/script/Engine/CatanEngine/CSharp/System/Text/Encoding.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/CancellationTokenSource.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/Core.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/Core/ActionEnumerator.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/Core/BaseEnumerator.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/Core/CoroutineExecutor.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/Core/EnumeratorExecutor.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/Core/ParallelEnumerator.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/Core/SingleEnumerator.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/Core/WaitTimeEnumerator.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/CoroutineExample.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/CoroutineV2.ts.meta delete mode 100644 src/script/Engine/CatanEngine/CoroutineV2/IEnumeratorV2.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/Core.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/Core/INetConnector.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/Core/INetRequest.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/Core/INetResponse.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/Examples.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/Examples/NetTester.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/Examples/Slot1_SpinRequestExample.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/NetConfig.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/NetConnector.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/NetManager.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NetManagerV2/NetRequest.ts.meta delete mode 100644 src/script/Engine/CatanEngine/NoSleep.ts.meta delete mode 100644 src/script/Engine/CatanEngine/TableV3.meta create mode 100644 src/script/Engine/CatanEngine/TableV3/Core/ITableJson.ts create mode 100644 src/script/Engine/CatanEngine/TableV3/Core/ITableRow.ts create mode 100644 src/script/Engine/CatanEngine/TableV3/Core/TableBase.ts create mode 100644 src/script/Engine/CatanEngine/TableV3/Examples/CSSettingsV3Example.ts create mode 100644 src/script/Engine/CatanEngine/TableV3/Examples/TableUseExample.ts create mode 100644 src/script/Engine/CatanEngine/TableV3/Examples/Tables/StringTableExample.ts create mode 100644 src/script/Engine/CatanEngine/TableV3/TableManager.ts delete mode 100644 src/script/Engine/CatanEngine/公司自架接功能.txt.meta delete mode 100644 src/script/Engine/Component.meta delete mode 100644 src/script/Engine/Data.meta delete mode 100644 src/script/Engine/HotUpdate.meta delete mode 100644 src/script/Engine/Utils.meta delete mode 100644 src/script/Engine/Utils/Act.meta delete mode 100644 src/script/Engine/Utils/Act/Shake.ts.meta delete mode 100644 src/script/Engine/Utils/Audio.meta delete mode 100644 src/script/Engine/Utils/Audio/CSAudio.ts.meta delete mode 100644 src/script/Engine/Utils/Audio/CSCommonAudios.ts.meta delete mode 100644 src/script/Engine/Utils/Bezier.meta delete mode 100644 src/script/Engine/Utils/Bezier/Bezier.ts.meta delete mode 100644 src/script/Engine/Utils/CCExtensions.meta delete mode 100644 src/script/Engine/Utils/CCExtensions/ArrayExtension.ts.meta delete mode 100644 src/script/Engine/Utils/CCExtensions/CCExtension.ts.meta delete mode 100644 src/script/Engine/Utils/CCExtensions/NumberExtension.ts.meta delete mode 100644 src/script/Engine/Utils/Number.meta delete mode 100644 src/script/Engine/Utils/Number/NumberEx.ts.meta delete mode 100644 src/script/Engine/Utils/Number/RandomEx.ts.meta delete mode 100644 src/script/Engine/Utils/ScrollView.meta delete mode 100644 src/script/Engine/Utils/ScrollView/UISuperItem.ts.meta delete mode 100644 src/script/Engine/Utils/ScrollView/UISuperLayout.ts.meta delete mode 100644 src/script/Engine/Utils/ScrollView/UISuperScrollView.ts.meta create mode 100644 src/script/FormTable/CSSettingsV3.ts create mode 100644 src/script/FormTable/LoadingInit.ts create mode 100644 src/script/FormTable/Manage/Currency/CurrencyManager.ts create mode 100644 src/script/FormTable/Manage/Language/LanguageManager.ts create mode 100644 src/script/FormTable/Manage/Language/ScenceLanguageSourceSet.ts create mode 100644 src/script/FormTable/TableExt/CSSettingsV3Ext.ts create mode 100644 src/script/FormTable/TableExt/ClipsHandleBySoundTable.ts create mode 100644 src/script/FormTable/TableExt/FixedTableExt.ts create mode 100644 src/script/FormTable/TableExt/MonkeytowerTableExt.ts create mode 100644 src/script/FormTable/TableExt/StringTableExt.ts create mode 100644 src/script/FormTable/Tables/Bar1401Table.ts create mode 100644 src/script/FormTable/Tables/BetSettingTable.ts create mode 100644 src/script/FormTable/Tables/Bingo8starsTable.ts create mode 100644 src/script/FormTable/Tables/Bingo9starsTable.ts create mode 100644 src/script/FormTable/Tables/BingoTable.ts create mode 100644 src/script/FormTable/Tables/CardUpgradeTable.ts create mode 100644 src/script/FormTable/Tables/ChatTable.ts create mode 100644 src/script/FormTable/Tables/Cluster1302Table.ts create mode 100644 src/script/FormTable/Tables/Cluster1303Table.ts create mode 100644 src/script/FormTable/Tables/Collect001Table.ts create mode 100644 src/script/FormTable/Tables/Collect002Table.ts create mode 100644 src/script/FormTable/Tables/CompositeTable.ts create mode 100644 src/script/FormTable/Tables/CurrencyTable.ts create mode 100644 src/script/FormTable/Tables/Fish2003Table.ts create mode 100644 src/script/FormTable/Tables/Fish2004Table.ts create mode 100644 src/script/FormTable/Tables/FiveTable.ts create mode 100644 src/script/FormTable/Tables/FixedTable.ts create mode 100644 src/script/FormTable/Tables/FormreadTable.ts create mode 100644 src/script/FormTable/Tables/GiftTable.ts create mode 100644 src/script/FormTable/Tables/HeadTable.ts create mode 100644 src/script/FormTable/Tables/ItemSettingTable.ts create mode 100644 src/script/FormTable/Tables/ItemdropTable.ts create mode 100644 src/script/FormTable/Tables/ItemmoneyTable.ts create mode 100644 src/script/FormTable/Tables/LanguageTable.ts create mode 100644 src/script/FormTable/Tables/LevelTable.ts create mode 100644 src/script/FormTable/Tables/LineTable.ts create mode 100644 src/script/FormTable/Tables/LobbyTable.ts create mode 100644 src/script/FormTable/Tables/MailTable.ts create mode 100644 src/script/FormTable/Tables/MonkeytowerTable.ts create mode 100644 src/script/FormTable/Tables/NameTable.ts create mode 100644 src/script/FormTable/Tables/NetworkTable.ts create mode 100644 src/script/FormTable/Tables/NineSicboTable.ts create mode 100644 src/script/FormTable/Tables/NormalBaccaratTable.ts create mode 100644 src/script/FormTable/Tables/OperationTable.ts create mode 100644 src/script/FormTable/Tables/PacketTable.ts create mode 100644 src/script/FormTable/Tables/RankTable.ts create mode 100644 src/script/FormTable/Tables/ShopTable.ts create mode 100644 src/script/FormTable/Tables/Slot001Table.ts create mode 100644 src/script/FormTable/Tables/Slot002Table.ts create mode 100644 src/script/FormTable/Tables/Slot003Table.ts create mode 100644 src/script/FormTable/Tables/Slot004Table.ts create mode 100644 src/script/FormTable/Tables/Slot005Table.ts create mode 100644 src/script/FormTable/Tables/Slot006Table.ts create mode 100644 src/script/FormTable/Tables/Slot007Table.ts create mode 100644 src/script/FormTable/Tables/Slot008Table.ts create mode 100644 src/script/FormTable/Tables/Slot009Table.ts create mode 100644 src/script/FormTable/Tables/Slot010Table.ts create mode 100644 src/script/FormTable/Tables/Slot011Table.ts create mode 100644 src/script/FormTable/Tables/Slot012Table.ts create mode 100644 src/script/FormTable/Tables/Slot013Table.ts create mode 100644 src/script/FormTable/Tables/Slot014Table.ts create mode 100644 src/script/FormTable/Tables/Slot015Table.ts create mode 100644 src/script/FormTable/Tables/Slot016Table.ts create mode 100644 src/script/FormTable/Tables/Slot017Table.ts create mode 100644 src/script/FormTable/Tables/Slot018Table.ts create mode 100644 src/script/FormTable/Tables/Slot019Table.ts create mode 100644 src/script/FormTable/Tables/Slot020Table.ts create mode 100644 src/script/FormTable/Tables/Slot021Table.ts create mode 100644 src/script/FormTable/Tables/Slot022Table.ts create mode 100644 src/script/FormTable/Tables/Slot023Table.ts create mode 100644 src/script/FormTable/Tables/Slot024Table.ts create mode 100644 src/script/FormTable/Tables/Slot025Table.ts create mode 100644 src/script/FormTable/Tables/Slot026Table.ts create mode 100644 src/script/FormTable/Tables/Slot027Table.ts create mode 100644 src/script/FormTable/Tables/Slot028Table.ts create mode 100644 src/script/FormTable/Tables/Slot029Table.ts create mode 100644 src/script/FormTable/Tables/Slot030Table.ts create mode 100644 src/script/FormTable/Tables/Slot031Table.ts create mode 100644 src/script/FormTable/Tables/Slot032Table.ts create mode 100644 src/script/FormTable/Tables/Slot033Table.ts create mode 100644 src/script/FormTable/Tables/Slot034Table.ts create mode 100644 src/script/FormTable/Tables/Slot035Table.ts create mode 100644 src/script/FormTable/Tables/Slot036Table.ts create mode 100644 src/script/FormTable/Tables/Slot037Table.ts create mode 100644 src/script/FormTable/Tables/Slot038Table.ts create mode 100644 src/script/FormTable/Tables/Slot039Table.ts create mode 100644 src/script/FormTable/Tables/Slot040Table.ts create mode 100644 src/script/FormTable/Tables/Slot041Table.ts create mode 100644 src/script/FormTable/Tables/Slot042Table.ts create mode 100644 src/script/FormTable/Tables/Slot043Table.ts create mode 100644 src/script/FormTable/Tables/Slot044Table.ts create mode 100644 src/script/FormTable/Tables/Slot045Table.ts create mode 100644 src/script/FormTable/Tables/Slot047Table.ts create mode 100644 src/script/FormTable/Tables/Slot048Table.ts create mode 100644 src/script/FormTable/Tables/Slot049Table.ts create mode 100644 src/script/FormTable/Tables/Slot050Table.ts create mode 100644 src/script/FormTable/Tables/Slot051Table.ts create mode 100644 src/script/FormTable/Tables/Slot052Table.ts create mode 100644 src/script/FormTable/Tables/Slot054Table.ts create mode 100644 src/script/FormTable/Tables/Slot055Table.ts create mode 100644 src/script/FormTable/Tables/Slot056Table.ts create mode 100644 src/script/FormTable/Tables/Slot058Table.ts create mode 100644 src/script/FormTable/Tables/Slot059Table.ts create mode 100644 src/script/FormTable/Tables/Slot060Table.ts create mode 100644 src/script/FormTable/Tables/Slot061Table.ts create mode 100644 src/script/FormTable/Tables/Slot062Table.ts create mode 100644 src/script/FormTable/Tables/Slot064Table.ts create mode 100644 src/script/FormTable/Tables/Slot1201Table.ts create mode 100644 src/script/FormTable/Tables/Slot1202Table.ts create mode 100644 src/script/FormTable/Tables/Slot1501Table.ts create mode 100644 src/script/FormTable/Tables/Slot1701Table.ts create mode 100644 src/script/FormTable/Tables/SlotsetTable.ts create mode 100644 src/script/FormTable/Tables/SoundTable.ts create mode 100644 src/script/FormTable/Tables/StringTable.ts create mode 100644 src/script/FormTable/Tables/Super6BaccaratTable.ts create mode 100644 src/script/FormTable/Tables/Table3031Table.ts create mode 100644 src/script/FormTable/Tables/TripleBaccaratTable.ts create mode 100644 src/script/FormTable/Tables/TwoSicboTable.ts create mode 100644 src/script/FormTable/Tables/VipTable.ts create mode 100644 進度表.txt diff --git a/package-lock.json b/package-lock.json index 76eb881..0c98750 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,6 +18,7 @@ "vue-loading-overlay": "^5.0.3" }, "devDependencies": { + "@types/node": "^17.0.39", "@vitejs/plugin-vue": "^2.3.0", "typescript": "^4.5.4", "vite": "^2.9.0", @@ -157,6 +158,12 @@ "@types/lodash": "*" } }, + "node_modules/@types/node": { + "version": "17.0.39", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.39.tgz", + "integrity": "sha512-JDU3YLlnPK3WDao6/DlXLOgSNpG13ct+CwIO17V8q0/9fWJyeMJJ/VyZ1lv8kDprihvZMydzVwf0tQOqGiY2Nw==", + "dev": true + }, "node_modules/@vitejs/plugin-vue": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-2.3.1.tgz", @@ -1934,6 +1941,12 @@ "@types/lodash": "*" } }, + "@types/node": { + "version": "17.0.39", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.39.tgz", + "integrity": "sha512-JDU3YLlnPK3WDao6/DlXLOgSNpG13ct+CwIO17V8q0/9fWJyeMJJ/VyZ1lv8kDprihvZMydzVwf0tQOqGiY2Nw==", + "dev": true + }, "@vitejs/plugin-vue": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-2.3.1.tgz", diff --git a/package.json b/package.json index 2d04609..410e0d4 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "vue-loading-overlay": "^5.0.3" }, "devDependencies": { + "@types/node": "^17.0.39", "@vitejs/plugin-vue": "^2.3.0", "typescript": "^4.5.4", "vite": "^2.9.0", diff --git a/src/main.ts b/src/main.ts index f8483ee..4e4838a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,5 +12,3 @@ import "./script/Engine/Utils/CCExtensions/NumberExtension"; createApp(App).use(ElementPlus, { locale }).mount("#app"); -// import("dayjs/locale/zh-tw"); -// dayjs.locale("zh-tw"); diff --git a/src/script/BJ_Casino_BotController.ts b/src/script/BJ_Casino_BotController.ts index 9944d95..5fea22a 100644 --- a/src/script/BJ_Casino_BotController.ts +++ b/src/script/BJ_Casino_BotController.ts @@ -1,6 +1,7 @@ // import { BJ_Casino_Data } from "./BJ_Casino_Data"; import dayjs from "dayjs"; import { Ref, ref } from "vue"; +import MainControl, { DownloadForm } from "./Common/MainControl/MainControl"; export class BJ_Casino_BotController { //#region Lifecycle @@ -26,24 +27,17 @@ export class BJ_Casino_BotController { * */ constructor() { + this.onLoad(); + } + + public async onLoad(): Promise { + // await LazyLoad.Init(); import("dayjs/locale/zh-tw"); dayjs.locale("zh-tw"); // this.BJ_Casino = client.BJ_Casino; - // this.onLoad(); + await MainControl.DownloadForm(DownloadForm.FormType.Formread); } - // public async onLoad() { - // await this.SetInit(); - // }; - - // public async SetInit() { - // while (this.BJ_Casino?.Client.isLoading.value) { - // await Tools.Sleep(50); - // } - // this._client.Title.value = this.BJ_Casino?.Title; - // this.SendData(); - // }; - //#endregion //#region Custom diff --git a/src/script/BJ_Casino_Bot_Lobby.ts b/src/script/BJ_Casino_Bot_Lobby.ts index 8593ff9..6e65324 100644 --- a/src/script/BJ_Casino_Bot_Lobby.ts +++ b/src/script/BJ_Casino_Bot_Lobby.ts @@ -2,8 +2,11 @@ import { Ref, ref } from "vue"; import CSMessage from "./Base/CSMessage"; import { BJ_Casino_Bot } from "./BJ_Casino_Bot"; import { SeatListRequest } from "./Common/ChooseSeat/ChooseSeatRequest"; +import MainControl from "./Common/MainControl/MainControl"; import { SlotInRequest, SlotOutRequest } from "./Common/Subgame/GameRequest"; import { INetResponse } from "./Engine/CatanEngine/NetManagerV2/Core/INetResponse"; +import CSSettingsV3 from "./FormTable/CSSettingsV3"; +import { SlotsetTableRow } from "./FormTable/Tables/SlotsetTable"; import { Tools } from "./Tools"; export class BJ_Casino_Bot_Lobby { @@ -77,6 +80,7 @@ export class BJ_Casino_Bot_Lobby { if (this.IsSlotIn.value || slot === 0 || slot == null) { return; } + await this._loadJSON(slot); this.IsSlotIn.value = true; let table: number = 1; let req: SeatListRequest = new SeatListRequest(hall, slot); @@ -126,6 +130,17 @@ export class BJ_Casino_Bot_Lobby { this._bj_Casino_Bot.SlotShow.value = false; } + private async _loadJSON(slotid: number): Promise { + let slotset: SlotsetTableRow = CSSettingsV3.Slotset[slotid]; + let formName: string[] = slotset.FormName; + let parallel: Promise[] = []; + for (let i: number = 0; i < formName.length; i++) { + await MainControl.DownloadFormSetting(formName[i]); + } + // set Form + await Promise.all(parallel); + } + public OnclickChangeSlot(): void { // await this._login(); } diff --git a/src/script/Common/Game/Base/SlotBase.ts b/src/script/Common/Game/Base/SlotBase.ts index d1f133b..f4decab 100644 --- a/src/script/Common/Game/Base/SlotBase.ts +++ b/src/script/Common/Game/Base/SlotBase.ts @@ -3,6 +3,7 @@ import { BJ_Casino_Bot } from "../../../BJ_Casino_Bot"; import { BJ_Casino_Bot_Slot } from "../../../BJ_Casino_Bot_Slot"; import { INetResponse } from "../../../Engine/CatanEngine/NetManagerV2/Core/INetResponse"; import { NumberEx } from "../../../Engine/Utils/Number/NumberEx"; +import CSSettingsV3 from "../../../FormTable/CSSettingsV3"; import { CommonSlotFgSpinRequest, CommonSlotSpinRequest } from "../Request/CommonSlotRequest"; import { Slot_ChoiceRequest } from "../Request/SlotRequest"; @@ -15,7 +16,6 @@ export class SlotBase { public get SlotReqRespIsCount(): boolean { return false; } public get HasRetriggerFreeSpin(): boolean { return false; } public GameRunData: JSON = null; - public ChoiceFreeCount: Object = {}; //#endregion @@ -153,8 +153,13 @@ export class SlotBase { if (result.IsValid) { if (this.SlotReqRespIsCount) { return result.Data; - } else if (this.ChoiceFreeCount[result.Data]) { - return this.ChoiceFreeCount[result.Data]; + } else { + let slotNameSetting: string = CSSettingsV3.Slotset[this.ID].NameSetting; + let free_info_id: number = result.Data; + let slotSetting: any = CSSettingsV3[slotNameSetting]; + let freeInfo: any = slotSetting.FreeInfo; + let count: number = freeInfo[free_info_id].Spins; + return count; } } return 0; diff --git a/src/script/Common/Game/Slot50.ts b/src/script/Common/Game/Slot50.ts index fc524ec..529f519 100644 --- a/src/script/Common/Game/Slot50.ts +++ b/src/script/Common/Game/Slot50.ts @@ -5,6 +5,8 @@ export class Slot50 extends SlotBase { //#region public public get ID(): number { return 50; } + public get FreeID(): number { return 1; } + public get HasChoiceFreeGame(): boolean { return true; } public get HasRetriggerFreeSpin(): boolean { return true; } //#endregion diff --git a/src/script/Common/Game/Slot62.ts b/src/script/Common/Game/Slot62.ts index aebbb5c..b06a28d 100644 --- a/src/script/Common/Game/Slot62.ts +++ b/src/script/Common/Game/Slot62.ts @@ -7,13 +7,6 @@ export class Slot62 extends SlotBase { public get ID(): number { return 62; } public get FreeID(): number { return 3; } public get HasChoiceFreeGame(): boolean { return true; } - public ChoiceFreeCount: Object = { - "1": 15, - "2": 10, - "3": 5, - "4": 3, - "5": 1, - }; //#endregion diff --git a/src/script/Common/MainControl/MainControl.ts b/src/script/Common/MainControl/MainControl.ts new file mode 100644 index 0000000..2fafc94 --- /dev/null +++ b/src/script/Common/MainControl/MainControl.ts @@ -0,0 +1,75 @@ +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; +import { Tools } from "../../Tools"; + +export class MainControl { + + //#region DownloadForm Function + + /** + * 載入外載表設定檔 + * @param formtype FormType + */ + public static async DownloadForm(formtype: DownloadForm.FormType): Promise { + if (DownloadForm.DownloadFormData.DownloadSuccess.has(formtype)) { + console.warn(`CSSettingsV3 ${formtype} 已經載過`); + return; + } + DownloadForm.DownloadFormData.DownloadSuccess.set(formtype, true); + let needForm: string[] = DownloadForm.DownloadFormData[`${formtype}Form`]; + let parallel: Promise[] = []; + for (let i: number = 0; i < needForm.length; i++) { + parallel.push(this.DownloadFormSetting(needForm[i])); + } + // set Form + await Promise.all(parallel); + } + + /** + * 載入外載表設定檔 + * @param formname 設定檔名稱 + */ + public static async DownloadFormSetting(formname: string): Promise { + // http://patch-dev.online-bj.com/shared/jsons/slot_050.json + let fileUrl: string = `${formname}.json`; + fileUrl = "http://patch-dev.online-bj.com/shared/jsons/" + fileUrl; + fileUrl = fileUrl + "?v=" + Date.now(); + let isdownloading: boolean = true; + let xhr: XMLHttpRequest = new XMLHttpRequest(); + // xhr.withCredentials = true; + xhr.onreadystatechange = function (): void { + if (xhr.readyState === 4 && (xhr.status >= 200 && xhr.status < 400)) { + let res: any = {}; + res.json = JSON.parse(xhr.responseText); + res.name = formname; + TableManager.AddJsonAsset(res); + isdownloading = false; + } + }; + xhr.open("GET", fileUrl); + xhr.send(); + while (isdownloading) { + await Tools.Sleep(100); + } + } + + //#endregion +} +export default MainControl; + +//#region DownloadForm +export module DownloadForm { + export enum FormType { + Formread = "formread", + } + + export class DownloadFormData { + + /** 已下載的表 */ + public static DownloadSuccess: Map = new Map(); + + /** Bag需要的表(xxxx.json) */ + public static formreadForm: string[] = ["formread", "slotset"]; + } +} + +//#endregion \ No newline at end of file diff --git a/src/script/Engine/CatanEngine.meta b/src/script/Engine/CatanEngine.meta deleted file mode 100644 index f0d308f..0000000 --- a/src/script/Engine/CatanEngine.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "a69fe64f-177f-4e4b-83f0-1f418203d85f", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CSharp.meta b/src/script/Engine/CatanEngine/CSharp.meta deleted file mode 100644 index ad81719..0000000 --- a/src/script/Engine/CatanEngine/CSharp.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "f9edb32f-c4ab-4e5d-8270-71fa609e1db7", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CSharp/String.ts.meta b/src/script/Engine/CatanEngine/CSharp/String.ts.meta deleted file mode 100644 index 42955f2..0000000 --- a/src/script/Engine/CatanEngine/CSharp/String.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "0c3d1ca6-bdaf-4a00-b209-6ef460802cdc", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CSharp/System.meta b/src/script/Engine/CatanEngine/CSharp/System.meta deleted file mode 100644 index 4b20ca4..0000000 --- a/src/script/Engine/CatanEngine/CSharp/System.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "01b35dee-e6e0-4a6e-a73c-3b49c37f1c5f", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CSharp/System/Action.ts.meta b/src/script/Engine/CatanEngine/CSharp/System/Action.ts.meta deleted file mode 100644 index a62a428..0000000 --- a/src/script/Engine/CatanEngine/CSharp/System/Action.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "ea9bf762-40a7-4bab-b949-8d5b3d4289e2", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CSharp/System/ActionExample.ts.meta b/src/script/Engine/CatanEngine/CSharp/System/ActionExample.ts.meta deleted file mode 100644 index b2e8b66..0000000 --- a/src/script/Engine/CatanEngine/CSharp/System/ActionExample.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "cc645b73-6192-414d-a5bc-4220c24e322d", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CSharp/System/ActionWithType.ts.meta b/src/script/Engine/CatanEngine/CSharp/System/ActionWithType.ts.meta deleted file mode 100644 index e1e3d30..0000000 --- a/src/script/Engine/CatanEngine/CSharp/System/ActionWithType.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "61d770ec-24e2-425b-b66b-2b03e192e45b", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CSharp/System/ActionWithType2.ts.meta b/src/script/Engine/CatanEngine/CSharp/System/ActionWithType2.ts.meta deleted file mode 100644 index a37aa2c..0000000 --- a/src/script/Engine/CatanEngine/CSharp/System/ActionWithType2.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "ed703ebd-efd4-4ec9-9b84-de748ef8f9e8", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CSharp/System/Text.meta b/src/script/Engine/CatanEngine/CSharp/System/Text.meta deleted file mode 100644 index 7e3f112..0000000 --- a/src/script/Engine/CatanEngine/CSharp/System/Text.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "09d69d12-a6d1-4bb1-bcfe-faa811632467", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CSharp/System/Text/Encoding.ts.meta b/src/script/Engine/CatanEngine/CSharp/System/Text/Encoding.ts.meta deleted file mode 100644 index 02a34a1..0000000 --- a/src/script/Engine/CatanEngine/CSharp/System/Text/Encoding.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "43bf5724-e939-4189-b981-c32ef694e5a5", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2.meta b/src/script/Engine/CatanEngine/CoroutineV2.meta deleted file mode 100644 index 4fc05bc..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "9f510f2b-83d8-4097-8683-32d6134323fb", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/CancellationTokenSource.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/CancellationTokenSource.ts.meta deleted file mode 100644 index 4175ac3..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/CancellationTokenSource.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "9a414131-91a8-4d02-9921-9d1ee01764c3", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core.meta b/src/script/Engine/CatanEngine/CoroutineV2/Core.meta deleted file mode 100644 index 999a0f6..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "fbfe97a8-24ca-4f67-b049-323652c7194b", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core/ActionEnumerator.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/Core/ActionEnumerator.ts.meta deleted file mode 100644 index cfa8e0d..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core/ActionEnumerator.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "3cf9e5c3-520f-48a9-8821-9be76d519765", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core/BaseEnumerator.ts b/src/script/Engine/CatanEngine/CoroutineV2/Core/BaseEnumerator.ts index 0043213..87a45a2 100644 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core/BaseEnumerator.ts +++ b/src/script/Engine/CatanEngine/CoroutineV2/Core/BaseEnumerator.ts @@ -1,11 +1,26 @@ import { IEnumeratorV2, IEnumeratorV2Started } from "../IEnumeratorV2"; import { CoroutineExecutor } from "./CoroutineExecutor"; + +let EnumeratorExecutor_1: typeof import("./EnumeratorExecutor"); + export abstract class BaseEnumerator implements IEnumeratorV2 { public nextEnumerator: BaseEnumerator; abstract next(value?: any): IteratorResult; - + + /** + * + */ + constructor() { + this.onLoad(); + } + + async onLoad() { + EnumeratorExecutor_1 = await import(`./EnumeratorExecutor`); + return; + } + Start(target?: any): IEnumeratorV2Started { let executor = LazyLoad.EnumeratorExecutor(this, target); CoroutineExecutor.instance.StartCoroutine(executor); @@ -24,7 +39,7 @@ export abstract class BaseEnumerator implements IEnumeratorV2 { return this; } } - + ThenSerial(...iterators: Iterator[]): IEnumeratorV2 { let last = BaseEnumerator.getLastEnumerator(this); for (let iterator of iterators) { @@ -43,7 +58,7 @@ export abstract class BaseEnumerator implements IEnumeratorV2 { return this.Then(LazyLoad.ParallelEnumerator(...iterators)); } - ThenAction(action: Function, delaySeconds?:number): IEnumeratorV2 { + ThenAction(action: Function, delaySeconds?: number): IEnumeratorV2 { if (delaySeconds > 0) { return this.ThenSerial(LazyLoad.WaitTimeEnumerator(delaySeconds), LazyLoad.ActionEnumerator(action)); } else { @@ -65,23 +80,55 @@ export abstract class BaseEnumerator implements IEnumeratorV2 { } module LazyLoad { + let EnumeratorExecutor_Class: typeof import("./EnumeratorExecutor"); + let SingleEnumerator_Class: typeof import("./SingleEnumerator"); + let ParallelEnumerator_Class: typeof import("./ParallelEnumerator"); + let WaitTimeEnumerator_Class: typeof import("./WaitTimeEnumerator"); + let ActionEnumerator_Class: typeof import("./ActionEnumerator"); + export async function Init(): Promise { + EnumeratorExecutor_Class = await import(`./EnumeratorExecutor`); + SingleEnumerator_Class = await import(`./SingleEnumerator`); + ParallelEnumerator_Class = await import(`./ParallelEnumerator`); + WaitTimeEnumerator_Class = await import(`./WaitTimeEnumerator`); + ActionEnumerator_Class = await import(`./ActionEnumerator`); + return null; + } export function EnumeratorExecutor(enumerator: BaseEnumerator, target: any) { - return new (require("./EnumeratorExecutor") as typeof import("./EnumeratorExecutor")).EnumeratorExecutor(enumerator, target); + // return new (require("./EnumeratorExecutor") as typeof import("./EnumeratorExecutor")).EnumeratorExecutor(enumerator, target); + return new (EnumeratorExecutor_Class).EnumeratorExecutor(enumerator, target); } export function SingleEnumerator(iterator: Iterator) { - return new (require("./SingleEnumerator") as typeof import("./SingleEnumerator")).SingleEnumerator(iterator); + // return new (require("./SingleEnumerator") as typeof import("./SingleEnumerator")).SingleEnumerator(iterator); + return new (SingleEnumerator_Class).SingleEnumerator(iterator); } export function ParallelEnumerator(...iterators: Iterator[]) { - return new (require("./ParallelEnumerator") as typeof import("./ParallelEnumerator")).ParallelEnumerator(iterators); + // return new (require("./ParallelEnumerator") as typeof import("./ParallelEnumerator")).ParallelEnumerator(iterators); + return new (ParallelEnumerator_Class).ParallelEnumerator(iterators); } export function WaitTimeEnumerator(seconds: number) { - return new (require("./WaitTimeEnumerator") as typeof import("./WaitTimeEnumerator")).WaitTimeEnumerator(seconds); + // return new (require("./WaitTimeEnumerator") as typeof import("./WaitTimeEnumerator")).WaitTimeEnumerator(seconds); + return new (WaitTimeEnumerator_Class).WaitTimeEnumerator(seconds); } export function ActionEnumerator(action: Function) { - return new (require("./ActionEnumerator") as typeof import("./ActionEnumerator")).ActionEnumerator(action); + // return new (require("./ActionEnumerator") as typeof import("./ActionEnumerator")).ActionEnumerator(action); + return new (ActionEnumerator_Class).ActionEnumerator(action); } -} \ No newline at end of file +} +export default LazyLoad; + +// export class LazyLoadInit { +// //#region public + +// public static async Init(): Promise { +// LazyLoad.EnumeratorExecutor_2 = await import(`./EnumeratorExecutor`); +// return null; +// } + +// //#endregion +// } + +// export default LazyLoadInit; diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core/BaseEnumerator.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/Core/BaseEnumerator.ts.meta deleted file mode 100644 index 3756fe6..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core/BaseEnumerator.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "4084537c-c7e8-4d47-b283-39be77ef9685", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core/CoroutineExecutor.ts b/src/script/Engine/CatanEngine/CoroutineV2/Core/CoroutineExecutor.ts index aedf3b9..f5f7cb3 100644 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core/CoroutineExecutor.ts +++ b/src/script/Engine/CatanEngine/CoroutineV2/Core/CoroutineExecutor.ts @@ -10,10 +10,10 @@ export class CoroutineExecutor { private _nextExecutors: EnumeratorExecutor[] = []; private _isRunning: boolean = false; private _cleanRemoved: boolean = false; - private _scheduler: console.Scheduler; + private _scheduler: any; constructor() { - this._scheduler = console.director.getScheduler(); + // this._scheduler = cc.director.getScheduler(); this._scheduler.enableForTarget(this); this._scheduler.scheduleUpdate(this, 0, true); } diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core/CoroutineExecutor.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/Core/CoroutineExecutor.ts.meta deleted file mode 100644 index fc6d10b..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core/CoroutineExecutor.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "f25b1e42-90d8-4fc0-9925-6e7e92296d57", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core/EnumeratorExecutor.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/Core/EnumeratorExecutor.ts.meta deleted file mode 100644 index 8a4b319..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core/EnumeratorExecutor.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "91cb70ed-e6f9-4ce0-b7c5-1720087b3bd7", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core/ParallelEnumerator.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/Core/ParallelEnumerator.ts.meta deleted file mode 100644 index 70c1480..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core/ParallelEnumerator.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "017ebc9a-5152-4f94-bbaf-e3b914e87b41", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core/SingleEnumerator.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/Core/SingleEnumerator.ts.meta deleted file mode 100644 index 96ae7b1..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core/SingleEnumerator.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "c439d019-2da8-48b8-a65b-bff928d0fda8", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/Core/WaitTimeEnumerator.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/Core/WaitTimeEnumerator.ts.meta deleted file mode 100644 index 0572bd6..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/Core/WaitTimeEnumerator.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "a3038e6f-1bb4-4aff-a686-b69209df3592", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/CoroutineExample.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/CoroutineExample.ts.meta deleted file mode 100644 index 1c2b129..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/CoroutineExample.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "dfd32c11-76f6-4e38-9272-1d7966d1ef3c", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/CoroutineV2.ts b/src/script/Engine/CatanEngine/CoroutineV2/CoroutineV2.ts index 6ad86af..da7b9f2 100644 --- a/src/script/Engine/CatanEngine/CoroutineV2/CoroutineV2.ts +++ b/src/script/Engine/CatanEngine/CoroutineV2/CoroutineV2.ts @@ -1,10 +1,10 @@ -import { IEnumeratorV2, IEnumeratorV2Started } from "./IEnumeratorV2"; -import { BaseEnumerator } from "./Core/BaseEnumerator"; -import { SingleEnumerator } from "./Core/SingleEnumerator"; -import { ParallelEnumerator } from "./Core/ParallelEnumerator"; -import { WaitTimeEnumerator } from "./Core/WaitTimeEnumerator"; import { ActionEnumerator } from "./Core/ActionEnumerator"; +import { BaseEnumerator } from "./Core/BaseEnumerator"; import { CoroutineExecutor } from "./Core/CoroutineExecutor"; +import { ParallelEnumerator } from "./Core/ParallelEnumerator"; +import { SingleEnumerator } from "./Core/SingleEnumerator"; +import { WaitTimeEnumerator } from "./Core/WaitTimeEnumerator"; +import { IEnumeratorV2, IEnumeratorV2Started } from "./IEnumeratorV2"; export module CoroutineV2 { /** @@ -16,7 +16,7 @@ export module CoroutineV2 { /** * 依據IEnumeratorV2.Start(target)綁定的目標, 來停止協程 - * @param target + * @param target */ export function StopCoroutinesBy(target: any) { CoroutineExecutor.instance.StopCoroutineBy(target); @@ -30,7 +30,7 @@ export module CoroutineV2 { return iterator; } else { return new SingleEnumerator(iterator); - } + } } /** diff --git a/src/script/Engine/CatanEngine/CoroutineV2/CoroutineV2.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/CoroutineV2.ts.meta deleted file mode 100644 index 6ac7bb1..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/CoroutineV2.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "fc38e505-bd37-44c3-9e0a-fd463bb88c51", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/CoroutineV2/IEnumeratorV2.ts.meta b/src/script/Engine/CatanEngine/CoroutineV2/IEnumeratorV2.ts.meta deleted file mode 100644 index a4feac9..0000000 --- a/src/script/Engine/CatanEngine/CoroutineV2/IEnumeratorV2.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "df3ab07d-3d2b-4552-b454-29b95223ea85", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2.meta b/src/script/Engine/CatanEngine/NetManagerV2.meta deleted file mode 100644 index cb48b8a..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "6f870efd-e869-4415-9cf2-138ab667cd5d", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/Core.meta b/src/script/Engine/CatanEngine/NetManagerV2/Core.meta deleted file mode 100644 index a05aca1..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/Core.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "5e6c027f-ce4b-47fa-968c-f3bb6059ad81", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/Core/INetConnector.ts.meta b/src/script/Engine/CatanEngine/NetManagerV2/Core/INetConnector.ts.meta deleted file mode 100644 index 75c86ab..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/Core/INetConnector.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "f97991b5-0da6-4220-ab29-13c8f8f7e405", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/Core/INetRequest.ts.meta b/src/script/Engine/CatanEngine/NetManagerV2/Core/INetRequest.ts.meta deleted file mode 100644 index dc644ba..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/Core/INetRequest.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "339fcf27-bdb9-4b8f-ae18-dd54c9500145", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/Core/INetResponse.ts.meta b/src/script/Engine/CatanEngine/NetManagerV2/Core/INetResponse.ts.meta deleted file mode 100644 index 1861d9d..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/Core/INetResponse.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "c4cb0cd4-b98c-4f8e-b1e6-ac3b51281b28", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/Examples.meta b/src/script/Engine/CatanEngine/NetManagerV2/Examples.meta deleted file mode 100644 index ddcf31a..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/Examples.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "94e55972-723c-4dab-9ebc-870bd5043fca", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/Examples/NetTester.ts.meta b/src/script/Engine/CatanEngine/NetManagerV2/Examples/NetTester.ts.meta deleted file mode 100644 index 9cfea89..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/Examples/NetTester.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "0cb7df7a-d0e7-4ce1-832e-4583cf3385e5", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/Examples/Slot1_SpinRequestExample.ts.meta b/src/script/Engine/CatanEngine/NetManagerV2/Examples/Slot1_SpinRequestExample.ts.meta deleted file mode 100644 index 8a7d3bc..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/Examples/Slot1_SpinRequestExample.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "1af9e6af-3dc3-4d02-8b24-481adc07932a", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/NetConfig.ts.meta b/src/script/Engine/CatanEngine/NetManagerV2/NetConfig.ts.meta deleted file mode 100644 index 14afee9..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/NetConfig.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "c7f5f6a9-94fd-4f5f-9f0a-545cd14edca9", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/NetConnector.ts.meta b/src/script/Engine/CatanEngine/NetManagerV2/NetConnector.ts.meta deleted file mode 100644 index 99a8b42..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/NetConnector.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "221e1688-cc40-450d-9248-464978540a85", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/NetManager.ts.meta b/src/script/Engine/CatanEngine/NetManagerV2/NetManager.ts.meta deleted file mode 100644 index 3b9b3ba..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/NetManager.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "7c3e375d-3672-42e7-8a45-dd5ecf9d5fe8", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NetManagerV2/NetRequest.ts.meta b/src/script/Engine/CatanEngine/NetManagerV2/NetRequest.ts.meta deleted file mode 100644 index 13db2ab..0000000 --- a/src/script/Engine/CatanEngine/NetManagerV2/NetRequest.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "36534597-4273-48e8-bbeb-8dde4857d26f", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/NoSleep.ts.meta b/src/script/Engine/CatanEngine/NoSleep.ts.meta deleted file mode 100644 index 836b5c4..0000000 --- a/src/script/Engine/CatanEngine/NoSleep.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "90f2152c-2c37-4c7c-b3a3-04c8aee53c34", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/TableV3.meta b/src/script/Engine/CatanEngine/TableV3.meta deleted file mode 100644 index dcae6d1..0000000 --- a/src/script/Engine/CatanEngine/TableV3.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "8e05805d-5ab8-4526-8463-f4c837e23534", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/TableV3/Core/ITableJson.ts b/src/script/Engine/CatanEngine/TableV3/Core/ITableJson.ts new file mode 100644 index 0000000..c7afede --- /dev/null +++ b/src/script/Engine/CatanEngine/TableV3/Core/ITableJson.ts @@ -0,0 +1,4 @@ +export interface ITableJson { + cols: string[], + rows: any[], +} diff --git a/src/script/Engine/CatanEngine/TableV3/Core/ITableRow.ts b/src/script/Engine/CatanEngine/TableV3/Core/ITableRow.ts new file mode 100644 index 0000000..dc543f9 --- /dev/null +++ b/src/script/Engine/CatanEngine/TableV3/Core/ITableRow.ts @@ -0,0 +1,10 @@ +export interface ITableRow { + Id: number; +} + +/** + * 表沒有欄位 + */ +export class WithoutRow implements ITableRow { + Id: number; +} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/TableV3/Core/TableBase.ts b/src/script/Engine/CatanEngine/TableV3/Core/TableBase.ts new file mode 100644 index 0000000..704a9ca --- /dev/null +++ b/src/script/Engine/CatanEngine/TableV3/Core/TableBase.ts @@ -0,0 +1,21 @@ +import { ITableRow } from "./ITableRow"; + +export abstract class TableBase extends Array { + constructor() { + super(); + Object.setPrototypeOf(this, new.target.prototype); + } + + /**欄位數量 */ + public get Count(): number { return this.length; } + /**取得全部鍵值 */ + public get Keys(): string[] { return Object.keys(this); } + /**取得全部欄位值 */ + public get Rows(): Array { return Object["values"](this); } + // public get Rows(): Array { return this; } + + /**是否包含該Id值的欄位 */ + public ContainsRow(id: number): boolean { + return id in this; + } +} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/TableV3/Examples/CSSettingsV3Example.ts b/src/script/Engine/CatanEngine/TableV3/Examples/CSSettingsV3Example.ts new file mode 100644 index 0000000..1890acb --- /dev/null +++ b/src/script/Engine/CatanEngine/TableV3/Examples/CSSettingsV3Example.ts @@ -0,0 +1,13 @@ +import { TableManager } from "../TableManager"; +import { StringExampleTableRow, StringTableExample } from "./Tables/StringTableExample"; + +const { ccclass } = cc._decorator; + +@ccclass +export default class CSSettingsV3Example { + + private static _stringExample: StringTableExample; + /** 共用_字串表#string.xlsx */ + public static get StringExample(): StringTableExample { return this._stringExample = this._stringExample || TableManager.InitTable("#string", StringTableExample, StringExampleTableRow); } + +} diff --git a/src/script/Engine/CatanEngine/TableV3/Examples/TableUseExample.ts b/src/script/Engine/CatanEngine/TableV3/Examples/TableUseExample.ts new file mode 100644 index 0000000..423d227 --- /dev/null +++ b/src/script/Engine/CatanEngine/TableV3/Examples/TableUseExample.ts @@ -0,0 +1,82 @@ +import CSSettingsV3Example from "./CSSettingsV3Example"; +import { StringExampleTable } from "./Tables/StringTableExample"; + + +const { ccclass, property } = cc._decorator; + +@ccclass +export default class TableUseExample extends cc.Component { + + start() { + + //#region StringExample表 + cc.log("----------------#stringExample"); + cc.log(CSSettingsV3Example.StringExample instanceof StringExampleTable); // true + cc.log(Array.isArray(CSSettingsV3Example.StringExample)); // true, 所以Array相關的方法都可以拿來操作 + + cc.log(CSSettingsV3Example.StringExample.length); + cc.log(CSSettingsV3Example.StringExample.Count); // 跟length一樣 + + cc.log(CSSettingsV3Example.StringExample.ContainsRow(11)); // 是否包含id=11的Row + cc.log(11 in CSSettingsV3Example.StringExample); // 同上 + + cc.log(CSSettingsV3Example.StringExample[1].MsgZnCh); + cc.log(CSSettingsV3Example.StringExample[1]["MsgZnCh"]); // 同上 + cc.log(CSSettingsV3Example["StringExample"][1]["MsgZnCh"]); // 同上 + + cc.log("----------------"); + for (let row of CSSettingsV3Example.StringExample) { + if (row) { // 如果Row沒有連號, 那有可能取到undefined值, 要先判斷, 不想判斷就用 CSSettings.StringExample.Rows + cc.log(row.Id, row.MsgZnCh); + } + } + + cc.log("----------------"); + for (let id of CSSettingsV3Example.StringExample.Keys) { + cc.log(id); // 只會列出有值的id, undefined會跳過 + } + + cc.log("----------------"); + for (let row of CSSettingsV3Example.StringExample.Rows) { + cc.log(row.Id, row.MsgZnCh); // 只會列出有值的Row, undefined會跳過 + } + //#endregion + + //#region StringExample表 #StringFilter表 + cc.log("----------------#stringExample#string_filter"); + //cc.log(CSSettings.StringExample.StringFilter instanceof StringFilterTable); // true + cc.log(Array.isArray(CSSettingsV3Example.StringExample.StringFilter)); // true, 所以Array相關的方法都可以拿來操作 + + cc.log(CSSettingsV3Example.StringExample.StringFilter.length); + cc.log(CSSettingsV3Example.StringExample.StringFilter.Count); // 跟length一樣 + + cc.log(CSSettingsV3Example.StringExample.StringFilter.ContainsRow(11)); // 是否包含id=11的Row + cc.log(11 in CSSettingsV3Example.StringExample.StringFilter); // 同上 + + cc.log(CSSettingsV3Example.StringExample.StringFilter[1].FilterWord); + cc.log(CSSettingsV3Example.StringExample.StringFilter[1]["FilterWord"]); // 同上 + cc.log(CSSettingsV3Example["StringExample"]["StringFilter"][1]["FilterWord"]); // 同上 + + cc.log("----------------"); + for (let row of CSSettingsV3Example.StringExample.StringFilter) { + if (row) { // 如果Row沒有連號, 那有可能取到undefined值, 要先判斷, 不想判斷就用 CSSettings.StringExample.StringFilter.Rows + cc.log(row.Id, row.FilterWord); + } + } + + cc.log("----------------"); + for (let id of CSSettingsV3Example.StringExample.StringFilter.Keys) { + cc.log(id); // 只會列出有值的id, undefined會跳過 + } + + cc.log("----------------"); + for (let row of CSSettingsV3Example.StringExample.StringFilter.Rows) { + cc.log(row.Id, row.FilterWord); // 只會列出有值的Row, undefined會跳過 + } + //#endregion + + cc.log("----------------"); + //CSSettingsV3.ResetTables(); // 重置表 + + } +} diff --git a/src/script/Engine/CatanEngine/TableV3/Examples/Tables/StringTableExample.ts b/src/script/Engine/CatanEngine/TableV3/Examples/Tables/StringTableExample.ts new file mode 100644 index 0000000..197bba1 --- /dev/null +++ b/src/script/Engine/CatanEngine/TableV3/Examples/Tables/StringTableExample.ts @@ -0,0 +1,45 @@ +import { ITableRow } from "../../Core/ITableRow"; +import { TableBase } from "../../Core/TableBase"; +import { TableManager } from "../../TableManager"; + +/** + * 共用_字串表#string.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class StringTableExample extends TableBase { + private _stringFilter: StringFilterTable; + /** 共用_字串表#string.xlsx > #string_filter */ + public get StringFilter(): StringFilterTable { return this._stringFilter = this._stringFilter || TableManager.InitTable("#string#string_filter", StringFilterTable, StringFilterTableRow); } +} + +/** + * #string + */ +export class StringExampleTable extends TableBase {} + +export class StringExampleTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #string_filter + */ +export class StringFilterTable extends TableBase {} + +export class StringFilterTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 過濾字串 */ + FilterWord: string; +} diff --git a/src/script/Engine/CatanEngine/TableV3/TableManager.ts b/src/script/Engine/CatanEngine/TableV3/TableManager.ts new file mode 100644 index 0000000..2abf1e2 --- /dev/null +++ b/src/script/Engine/CatanEngine/TableV3/TableManager.ts @@ -0,0 +1,48 @@ +import { ITableJson } from "./Core/ITableJson"; +import { ITableRow } from "./Core/ITableRow"; + +export class TableManager { + private static _tableJsons: { [key: string]: ITableJson } = {}; + + public static AddJsonAssets(jsonAssets: any[]) { + if (!jsonAssets) return; + let newAssets: any[] = jsonAssets.concat(); + for (let jsonAsset of newAssets) { + this.AddJsonAsset(jsonAsset); + } + } + + public static AddJsonAsset(jsonAsset: any) { + if (!jsonAsset) { + return; + } + for (let tableName in jsonAsset.json) { + console.log(`TableV3 [${tableName}] json loaded`); + this._tableJsons[tableName] = jsonAsset.json[tableName]; + } + } + + public static GetTable(name: string): ITableJson { + return this._tableJsons[name]; + } + + public static InitTable>(name: string, tableType: { new(): T }, rowType: { new(): ITableRow }): T { + let json = this._tableJsons[name]; + if (!json) { + throw new Error(`TableV3 [${name}] 尚未載入json檔`); + } + let table = new tableType(); + let cols = json.cols; + let colLength = cols.length; + let rows = json.rows; + for (let r of rows) { + let trow = new rowType(); + for (let i = 0; i < colLength; i++) { + trow[cols[i]] = r[i]; + } + table[trow.Id] = trow; + } + //cc.log(`TableV3 [${name}] init done`); + return table; + } +} \ No newline at end of file diff --git a/src/script/Engine/CatanEngine/公司自架接功能.txt.meta b/src/script/Engine/CatanEngine/公司自架接功能.txt.meta deleted file mode 100644 index 689bc66..0000000 --- a/src/script/Engine/CatanEngine/公司自架接功能.txt.meta +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ver": "2.0.0", - "uuid": "6ab253ff-8c5d-419f-9f8b-5cf0ef661a28", - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Component.meta b/src/script/Engine/Component.meta deleted file mode 100644 index 5b7af33..0000000 --- a/src/script/Engine/Component.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "c87ad2c2-0bf9-4822-84db-00b939f614ee", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Data.meta b/src/script/Engine/Data.meta deleted file mode 100644 index 00c18b4..0000000 --- a/src/script/Engine/Data.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "89d65072-29d8-4f58-a9d7-5750406209e6", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/HotUpdate.meta b/src/script/Engine/HotUpdate.meta deleted file mode 100644 index fcdb51f..0000000 --- a/src/script/Engine/HotUpdate.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "10da37ee-322f-492b-b19b-ed0cd210e884", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils.meta b/src/script/Engine/Utils.meta deleted file mode 100644 index 7b1bd0e..0000000 --- a/src/script/Engine/Utils.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "1207e3f9-4c55-4435-a3be-3d04c6806a1f", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Act.meta b/src/script/Engine/Utils/Act.meta deleted file mode 100644 index ca8d9f1..0000000 --- a/src/script/Engine/Utils/Act.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "b43bf5ea-67c5-4fc8-9893-1f406a52508f", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Act/Shake.ts.meta b/src/script/Engine/Utils/Act/Shake.ts.meta deleted file mode 100644 index e6b212e..0000000 --- a/src/script/Engine/Utils/Act/Shake.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "c5872cc0-91a4-49cb-a055-e037accd801d", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Audio.meta b/src/script/Engine/Utils/Audio.meta deleted file mode 100644 index 6f27799..0000000 --- a/src/script/Engine/Utils/Audio.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "d042d487-d962-4d90-920e-70ab9b8b383c", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Audio/CSAudio.ts.meta b/src/script/Engine/Utils/Audio/CSAudio.ts.meta deleted file mode 100644 index c788d2c..0000000 --- a/src/script/Engine/Utils/Audio/CSAudio.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "f3ba292a-ecad-4485-ab60-1cd3ee94979a", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Audio/CSCommonAudios.ts.meta b/src/script/Engine/Utils/Audio/CSCommonAudios.ts.meta deleted file mode 100644 index bfb0744..0000000 --- a/src/script/Engine/Utils/Audio/CSCommonAudios.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "ce946cad-16db-4383-a734-43bb8f14089e", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Bezier.meta b/src/script/Engine/Utils/Bezier.meta deleted file mode 100644 index e6eb2ec..0000000 --- a/src/script/Engine/Utils/Bezier.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "4e2d4321-bbfb-46d8-87bc-15a7c99c000d", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Bezier/Bezier.ts.meta b/src/script/Engine/Utils/Bezier/Bezier.ts.meta deleted file mode 100644 index 946290b..0000000 --- a/src/script/Engine/Utils/Bezier/Bezier.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "b47d81c4-01a1-45cd-94f8-19daf96f17a8", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/CCExtensions.meta b/src/script/Engine/Utils/CCExtensions.meta deleted file mode 100644 index b4ecd16..0000000 --- a/src/script/Engine/Utils/CCExtensions.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "dcb480f5-98b4-4a48-9d82-e3e1fe837e8d", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/CCExtensions/ArrayExtension.ts.meta b/src/script/Engine/Utils/CCExtensions/ArrayExtension.ts.meta deleted file mode 100644 index d50500a..0000000 --- a/src/script/Engine/Utils/CCExtensions/ArrayExtension.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "02aa6cd7-21a1-4c22-bcbe-296bb938badd", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/CCExtensions/CCExtension.ts.meta b/src/script/Engine/Utils/CCExtensions/CCExtension.ts.meta deleted file mode 100644 index 5d1f492..0000000 --- a/src/script/Engine/Utils/CCExtensions/CCExtension.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "b373f805-9297-4af5-8ea6-0a250649b5b0", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/CCExtensions/NumberExtension.ts.meta b/src/script/Engine/Utils/CCExtensions/NumberExtension.ts.meta deleted file mode 100644 index 2216eef..0000000 --- a/src/script/Engine/Utils/CCExtensions/NumberExtension.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "788e7381-bee6-4b74-addb-c4aa4c4ff4e3", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Number.meta b/src/script/Engine/Utils/Number.meta deleted file mode 100644 index 4c6cba6..0000000 --- a/src/script/Engine/Utils/Number.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "d6e55fc6-00b6-496a-aae2-74d694c1223b", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Number/NumberEx.ts.meta b/src/script/Engine/Utils/Number/NumberEx.ts.meta deleted file mode 100644 index 63edb76..0000000 --- a/src/script/Engine/Utils/Number/NumberEx.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "363f5f7f-0623-4013-8571-0bb5c1dc95e6", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/Number/RandomEx.ts.meta b/src/script/Engine/Utils/Number/RandomEx.ts.meta deleted file mode 100644 index bcf2fa8..0000000 --- a/src/script/Engine/Utils/Number/RandomEx.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "ba4dee5b-ca5b-4435-a068-c4f5dd832bab", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/ScrollView.meta b/src/script/Engine/Utils/ScrollView.meta deleted file mode 100644 index 2b459b6..0000000 --- a/src/script/Engine/Utils/ScrollView.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "f6471056-03d8-4d55-b039-6b62d056547c", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/ScrollView/UISuperItem.ts.meta b/src/script/Engine/Utils/ScrollView/UISuperItem.ts.meta deleted file mode 100644 index 55d2f86..0000000 --- a/src/script/Engine/Utils/ScrollView/UISuperItem.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "486070ed-7155-4fa6-8cc4-81695cc3b28b", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/ScrollView/UISuperLayout.ts.meta b/src/script/Engine/Utils/ScrollView/UISuperLayout.ts.meta deleted file mode 100644 index 821baf9..0000000 --- a/src/script/Engine/Utils/ScrollView/UISuperLayout.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "67f1a0e4-877e-4ad0-bc1b-e1175c620ca1", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/Engine/Utils/ScrollView/UISuperScrollView.ts.meta b/src/script/Engine/Utils/ScrollView/UISuperScrollView.ts.meta deleted file mode 100644 index 52edee1..0000000 --- a/src/script/Engine/Utils/ScrollView/UISuperScrollView.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.0.8", - "uuid": "dfb04646-c016-4594-b7b3-8d83fa7a925a", - "isPlugin": false, - "loadPluginInWeb": true, - "loadPluginInNative": true, - "loadPluginInEditor": false, - "subMetas": {} -} \ No newline at end of file diff --git a/src/script/FormTable/CSSettingsV3.ts b/src/script/FormTable/CSSettingsV3.ts new file mode 100644 index 0000000..2f06238 --- /dev/null +++ b/src/script/FormTable/CSSettingsV3.ts @@ -0,0 +1,574 @@ +import { TableBase } from "../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../Engine/CatanEngine/TableV3/TableManager"; +//#region AutoMappingImport +import { Bar1401Table } from "./Tables/Bar1401Table"; +import { BetSettingTable } from "./Tables/BetSettingTable"; +import { Bingo8starsTable } from "./Tables/Bingo8starsTable"; +import { Bingo9starsTable } from "./Tables/Bingo9starsTable"; +import { BingoTable } from "./Tables/BingoTable"; +import { CardUpgradeTable } from "./Tables/CardUpgradeTable"; +import { ChatTable } from "./Tables/ChatTable"; +import { Cluster1302Table } from "./Tables/Cluster1302Table"; +import { Cluster1303Table } from "./Tables/Cluster1303Table"; +import { Collect001Table } from "./Tables/Collect001Table"; +import { Collect002Table } from "./Tables/Collect002Table"; +import { CompositeTable } from "./Tables/CompositeTable"; +import { CurrencyTable, CurrencyTableRow } from "./Tables/CurrencyTable"; +import { Fish2003Table } from "./Tables/Fish2003Table"; +import { Fish2004Table } from "./Tables/Fish2004Table"; +import { FiveTable } from "./Tables/FiveTable"; +import { FixedTable, FixedTableRow } from "./Tables/FixedTable"; +import { FormreadTable, FormreadTableRow } from "./Tables/FormreadTable"; +import { GiftTable } from "./Tables/GiftTable"; +import { HeadTable, HeadTableRow } from "./Tables/HeadTable"; +import { ItemdropTable } from "./Tables/ItemdropTable"; +import { ItemmoneyTable } from "./Tables/ItemmoneyTable"; +import { ItemSettingTable } from "./Tables/ItemSettingTable"; +import { LanguageTable } from "./Tables/LanguageTable"; +import { LevelTable, LevelTableRow } from "./Tables/LevelTable"; +import { LineTable } from "./Tables/LineTable"; +import { LobbyTable } from "./Tables/LobbyTable"; +import { MailTable } from "./Tables/MailTable"; +import { MonkeytowerTable } from "./Tables/MonkeytowerTable"; +import { NameTable } from "./Tables/NameTable"; +import { NetworkTable } from "./Tables/NetworkTable"; +import { NineSicboTable } from "./Tables/NineSicboTable"; +import { NormalBaccaratTable } from "./Tables/NormalBaccaratTable"; +import { OperationTable } from "./Tables/OperationTable"; +import { PacketTable } from "./Tables/PacketTable"; +import { RankTable, RankTableRow } from "./Tables/RankTable"; +import { ShopTable } from "./Tables/ShopTable"; +import { Slot001Table } from "./Tables/Slot001Table"; +import { Slot002Table } from "./Tables/Slot002Table"; +import { Slot003Table } from "./Tables/Slot003Table"; +import { Slot004Table } from "./Tables/Slot004Table"; +import { Slot005Table } from "./Tables/Slot005Table"; +import { Slot006Table } from "./Tables/Slot006Table"; +import { Slot007Table } from "./Tables/Slot007Table"; +import { Slot008Table } from "./Tables/Slot008Table"; +import { Slot009Table } from "./Tables/Slot009Table"; +import { Slot010Table } from "./Tables/Slot010Table"; +import { Slot011Table } from "./Tables/Slot011Table"; +import { Slot012Table } from "./Tables/Slot012Table"; +import { Slot013Table } from "./Tables/Slot013Table"; +import { Slot014Table } from "./Tables/Slot014Table"; +import { Slot015Table } from "./Tables/Slot015Table"; +import { Slot016Table } from "./Tables/Slot016Table"; +import { Slot017Table } from "./Tables/Slot017Table"; +import { Slot018Table } from "./Tables/Slot018Table"; +import { Slot019Table } from "./Tables/Slot019Table"; +import { Slot020Table } from "./Tables/Slot020Table"; +import { Slot021Table } from "./Tables/Slot021Table"; +import { Slot022Table } from "./Tables/Slot022Table"; +import { Slot023Table } from "./Tables/Slot023Table"; +import { Slot024Table } from "./Tables/Slot024Table"; +import { Slot025Table } from "./Tables/Slot025Table"; +import { Slot026Table } from "./Tables/Slot026Table"; +import { Slot027Table } from "./Tables/Slot027Table"; +import { Slot028Table } from "./Tables/Slot028Table"; +import { Slot029Table } from "./Tables/Slot029Table"; +import { Slot030Table } from "./Tables/Slot030Table"; +import { Slot031Table } from "./Tables/Slot031Table"; +import { Slot032Table } from "./Tables/Slot032Table"; +import { Slot033Table } from "./Tables/Slot033Table"; +import { Slot034Table } from "./Tables/Slot034Table"; +import { Slot035Table } from "./Tables/Slot035Table"; +import { Slot036Table } from "./Tables/Slot036Table"; +import { Slot037Table } from "./Tables/Slot037Table"; +import { Slot038Table } from "./Tables/Slot038Table"; +import { Slot039Table } from "./Tables/Slot039Table"; +import { Slot040Table } from "./Tables/Slot040Table"; +import { Slot041Table } from "./Tables/Slot041Table"; +import { Slot042Table } from "./Tables/Slot042Table"; +import { Slot043Table } from "./Tables/Slot043Table"; +import { Slot044Table } from "./Tables/Slot044Table"; +import { Slot045Table } from "./Tables/Slot045Table"; +import { Slot047Table } from "./Tables/Slot047Table"; +import { Slot048Table } from "./Tables/Slot048Table"; +import { Slot049Table } from "./Tables/Slot049Table"; +import { Slot050Table } from "./Tables/Slot050Table"; +import { Slot051Table } from "./Tables/Slot051Table"; +import { Slot052Table } from "./Tables/Slot052Table"; +import { Slot054Table } from "./Tables/Slot054Table"; +import { Slot055Table } from "./Tables/Slot055Table"; +import { Slot056Table } from "./Tables/Slot056Table"; +import { Slot058Table } from "./Tables/Slot058Table"; +import { Slot059Table } from "./Tables/Slot059Table"; +import { Slot060Table } from "./Tables/Slot060Table"; +import { Slot061Table } from "./Tables/Slot061Table"; +import { Slot062Table } from "./Tables/Slot062Table"; +import { Slot064Table } from "./Tables/Slot064Table"; +import { Slot1201Table } from "./Tables/Slot1201Table"; +import { Slot1202Table } from "./Tables/Slot1202Table"; +import { Slot1501Table } from "./Tables/Slot1501Table"; +import { Slot1701Table } from "./Tables/Slot1701Table"; +import { SlotsetTable, SlotsetTableRow } from "./Tables/SlotsetTable"; +import { SoundTable, SoundTableRow } from "./Tables/SoundTable"; +import { StringTable, StringTableRow } from "./Tables/StringTable"; +import { Super6BaccaratTable } from "./Tables/Super6BaccaratTable"; +import { Table3031Table } from "./Tables/Table3031Table"; +import { TripleBaccaratTable } from "./Tables/TripleBaccaratTable"; +import { TwoSicboTable } from "./Tables/TwoSicboTable"; +import { VipTable } from "./Tables/VipTable"; +//#endregion AutoMappingImport + +export default class CSSettingsV3 { + + public static ResetTables() { + for (let prop in this) { + if (prop.charAt(0) === '_' && this[prop] && this[prop] instanceof TableBase) { + let table = this[prop]; + let tableName = prop.replace("_", "#"); + for (let p in table) { + if (p.charAt(0) === '_' && table[p] && table[p] instanceof TableBase) { + cc.log(`TableV3 [${tableName}${p.replace("_", "#")}] cleared`); + table[p] = undefined; + } + } + cc.log(`TableV3 [${tableName}] cleared`); + this[prop] = undefined; + } + } + //TODO: 尚未實作TableManager的清除動作 + } + + //#region AutoMappingClass + + private static _monkeytower: MonkeytowerTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx */ + public static get Monkeytower(): MonkeytowerTable { return this._monkeytower = this._monkeytower || new MonkeytowerTable(); } + + private static _gift: GiftTable; + /** 系統_贈禮#gift.xlsx */ + public static get Gift(): GiftTable { return this._gift = this._gift || new GiftTable(); } + + private static _fish2003: Fish2003Table; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx */ + public static get Fish2003(): Fish2003Table { return this._fish2003 = this._fish2003 || new Fish2003Table(); } + + private static _fish2004: Fish2004Table; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx */ + public static get Fish2004(): Fish2004Table { return this._fish2004 = this._fish2004 || new Fish2004Table(); } + + private static _tripleBaccarat: TripleBaccaratTable; + /** 遊藝館_三寶百家樂#triple_baccarat.xlsx */ + public static get TripleBaccarat(): TripleBaccaratTable { return this._tripleBaccarat = this._tripleBaccarat || new TripleBaccaratTable(); } + + private static _nineSicbo: NineSicboTable; + /** 遊藝館_九龍骰寶#nine_sicbo.xlsx */ + public static get NineSicbo(): NineSicboTable { return this._nineSicbo = this._nineSicbo || new NineSicboTable(); } + + private static _super6Baccarat: Super6BaccaratTable; + /** 遊藝館_超六百家樂#super6_baccarat.xlsx */ + public static get Super6Baccarat(): Super6BaccaratTable { return this._super6Baccarat = this._super6Baccarat || new Super6BaccaratTable(); } + + private static _table3031: Table3031Table; + /** 遊藝館_色碟#table3031.xlsx */ + public static get Table3031(): Table3031Table { return this._table3031 = this._table3031 || new Table3031Table(); } + + private static _normalBaccarat: NormalBaccaratTable; + /** 遊藝館_傳統百家樂#normal_baccarat.xlsx */ + public static get NormalBaccarat(): NormalBaccaratTable { return this._normalBaccarat = this._normalBaccarat || new NormalBaccaratTable(); } + + private static _twoSicbo: TwoSicboTable; + /** 遊藝館_雙星骰寶#two_sicbo.xlsx */ + public static get TwoSicbo(): TwoSicboTable { return this._twoSicbo = this._twoSicbo || new TwoSicboTable(); } + + private static _slotset: SlotsetTable; + /** 機台設定#slotset.xlsx */ + public static get Slotset(): SlotsetTable { return this._slotset = this._slotset || TableManager.InitTable("#slotset", SlotsetTable, SlotsetTableRow); } + + private static _bar1401: Bar1401Table; + /** BAR_1401麻辣小瑪莉#bar_1401.xlsx */ + public static get Bar1401(): Bar1401Table { return this._bar1401 = this._bar1401 || new Bar1401Table(); } + + private static _cluster1302: Cluster1302Table; + /** Cluster_1302鍊金術士#cluster_1302.xlsx */ + public static get Cluster1302(): Cluster1302Table { return this._cluster1302 = this._cluster1302 || new Cluster1302Table(); } + + private static _collect001: Collect001Table; + /** COLLECT_001猛瑪#collect_001.xlsx */ + public static get Collect001(): Collect001Table { return this._collect001 = this._collect001 || new Collect001Table(); } + + private static _collect002: Collect002Table; + /** COLLECT_002幸運美鈔#collect_002.xlsx */ + public static get Collect002(): Collect002Table { return this._collect002 = this._collect002 || new Collect002Table(); } + + private static _slot002: Slot002Table; + /** SLOT_002火焰巨輪#slot_002.xlsx */ + public static get Slot002(): Slot002Table { return this._slot002 = this._slot002 || new Slot002Table(); } + + private static _slot001: Slot001Table; + /** SLOT_001福氣財神#slot_001.xlsx */ + public static get Slot001(): Slot001Table { return this._slot001 = this._slot001 || new Slot001Table(); } + + private static _slot003: Slot003Table; + /** SLOT_003翻轉提基#slot_003.xlsx */ + public static get Slot003(): Slot003Table { return this._slot003 = this._slot003 || new Slot003Table(); } + + private static _slot004: Slot004Table; + /** SLOT_004埃及#slot_004.xlsx */ + public static get Slot004(): Slot004Table { return this._slot004 = this._slot004 || new Slot004Table(); } + + private static _slot005: Slot005Table; + /** SLOT_005雷電#slot_005.xlsx */ + public static get Slot005(): Slot005Table { return this._slot005 = this._slot005 || new Slot005Table(); } + + private static _slot006: Slot006Table; + /** SLOT_006四方美人#slot_006.xlsx */ + public static get Slot006(): Slot006Table { return this._slot006 = this._slot006 || new Slot006Table(); } + + private static _slot007: Slot007Table; + /** SLOT_007鍊金術師#slot_007.xlsx */ + public static get Slot007(): Slot007Table { return this._slot007 = this._slot007 || new Slot007Table(); } + + private static _slot008: Slot008Table; + /** SLOT_008鯊魚#slot_008.xlsx */ + public static get Slot008(): Slot008Table { return this._slot008 = this._slot008 || new Slot008Table(); } + + private static _slot010: Slot010Table; + /** SLOT_010紅利金貓#slot_010.xlsx */ + public static get Slot010(): Slot010Table { return this._slot010 = this._slot010 || new Slot010Table(); } + + private static _slot009: Slot009Table; + /** SLOT_009美女與野獸#slot_009.xlsx */ + public static get Slot009(): Slot009Table { return this._slot009 = this._slot009 || new Slot009Table(); } + + private static _slot011: Slot011Table; + /** SLOT_011戀愛學園祭#slot_011.xlsx */ + public static get Slot011(): Slot011Table { return this._slot011 = this._slot011 || new Slot011Table(); } + + private static _slot013: Slot013Table; + /** SLOT_013年獸獻瑞#slot_013.xlsx */ + public static get Slot013(): Slot013Table { return this._slot013 = this._slot013 || new Slot013Table(); } + + private static _slot012: Slot012Table; + /** SLOT_012魔法少女#slot_012.xlsx */ + public static get Slot012(): Slot012Table { return this._slot012 = this._slot012 || new Slot012Table(); } + + private static _slot016: Slot016Table; + /** SLOT_016風暴女王#slot_016.xlsx */ + public static get Slot016(): Slot016Table { return this._slot016 = this._slot016 || new Slot016Table(); } + + private static _slot014: Slot014Table; + /** SLOT_014騎士風雲#slot_014.xlsx */ + public static get Slot014(): Slot014Table { return this._slot014 = this._slot014 || new Slot014Table(); } + + private static _slot015: Slot015Table; + /** SLOT_015神鬼戰士#slot_015.xlsx */ + public static get Slot015(): Slot015Table { return this._slot015 = this._slot015 || new Slot015Table(); } + + private static _slot017: Slot017Table; + /** SLOT_017帽子#slot_017.xlsx */ + public static get Slot017(): Slot017Table { return this._slot017 = this._slot017 || new Slot017Table(); } + + private static _slot019: Slot019Table; + /** SLOT_019礦坑#slot_019.xlsx */ + public static get Slot019(): Slot019Table { return this._slot019 = this._slot019 || new Slot019Table(); } + + private static _slot018: Slot018Table; + /** SLOT_018搖錢樹#slot_018.xlsx */ + public static get Slot018(): Slot018Table { return this._slot018 = this._slot018 || new Slot018Table(); } + + private static _slot020: Slot020Table; + /** SLOT_020特務奇兵#slot_020.xlsx */ + public static get Slot020(): Slot020Table { return this._slot020 = this._slot020 || new Slot020Table(); } + + private static _slot022: Slot022Table; + /** SLOT_022提基酒吧#slot_022.xlsx */ + public static get Slot022(): Slot022Table { return this._slot022 = this._slot022 || new Slot022Table(); } + + private static _slot021: Slot021Table; + /** SLOT_021火山#slot_021.xlsx */ + public static get Slot021(): Slot021Table { return this._slot021 = this._slot021 || new Slot021Table(); } + + private static _slot024: Slot024Table; + /** SLOT_024多福多財#slot_024.xlsx */ + public static get Slot024(): Slot024Table { return this._slot024 = this._slot024 || new Slot024Table(); } + + private static _slot025: Slot025Table; + /** SLOT_025鑽石之都#slot_025.xlsx */ + public static get Slot025(): Slot025Table { return this._slot025 = this._slot025 || new Slot025Table(); } + + private static _slot026: Slot026Table; + /** SLOT_026純金#slot_026.xlsx */ + public static get Slot026(): Slot026Table { return this._slot026 = this._slot026 || new Slot026Table(); } + + private static _slot027: Slot027Table; + /** SLOT_027富貴神龍#slot_027.xlsx */ + public static get Slot027(): Slot027Table { return this._slot027 = this._slot027 || new Slot027Table(); } + + private static _slot029: Slot029Table; + /** SLOT_029十倍經典#slot_029.xlsx */ + public static get Slot029(): Slot029Table { return this._slot029 = this._slot029 || new Slot029Table(); } + + private static _slot028: Slot028Table; + /** SLOT_028百萬金輪#slot_028.xlsx */ + public static get Slot028(): Slot028Table { return this._slot028 = this._slot028 || new Slot028Table(); } + + private static _slot030: Slot030Table; + /** SLOT_030龍鳳呈祥#slot_030.xlsx */ + public static get Slot030(): Slot030Table { return this._slot030 = this._slot030 || new Slot030Table(); } + + private static _slot031: Slot031Table; + /** SLOT_031水滸英雄#slot_031.xlsx */ + public static get Slot031(): Slot031Table { return this._slot031 = this._slot031 || new Slot031Table(); } + + private static _slot033: Slot033Table; + /** SLOT_033香水玫瑰#slot_033.xlsx */ + public static get Slot033(): Slot033Table { return this._slot033 = this._slot033 || new Slot033Table(); } + + private static _slot032: Slot032Table; + /** SLOT_032埃及豔后#slot_032.xlsx */ + public static get Slot032(): Slot032Table { return this._slot032 = this._slot032 || new Slot032Table(); } + + private static _slot034: Slot034Table; + /** SLOT_034招財金貓#slot_034.xlsx */ + public static get Slot034(): Slot034Table { return this._slot034 = this._slot034 || new Slot034Table(); } + + private static _slot035: Slot035Table; + /** SLOT_035多金多銀#slot_035.xlsx */ + public static get Slot035(): Slot035Table { return this._slot035 = this._slot035 || new Slot035Table(); } + + private static _slot037: Slot037Table; + /** SLOT_037幸運七#slot_037.xlsx */ + public static get Slot037(): Slot037Table { return this._slot037 = this._slot037 || new Slot037Table(); } + + private static _slot036: Slot036Table; + /** SLOT_036驚奇之星#slot_036.xlsx */ + public static get Slot036(): Slot036Table { return this._slot036 = this._slot036 || new Slot036Table(); } + + private static _slot038: Slot038Table; + /** SLOT_038經典九線#slot_038.xlsx */ + public static get Slot038(): Slot038Table { return this._slot038 = this._slot038 || new Slot038Table(); } + + private static _slot039: Slot039Table; + /** SLOT_039閃電倒轉#slot_039.xlsx */ + public static get Slot039(): Slot039Table { return this._slot039 = this._slot039 || new Slot039Table(); } + + private static _slot040: Slot040Table; + /** SLOT_040海姬#slot_040.xlsx */ + public static get Slot040(): Slot040Table { return this._slot040 = this._slot040 || new Slot040Table(); } + + private static _slot041: Slot041Table; + /** SLOT_041愛麗絲#slot_041.xlsx */ + public static get Slot041(): Slot041Table { return this._slot041 = this._slot041 || new Slot041Table(); } + + private static _slot042: Slot042Table; + /** SLOT_042好運到#slot_042.xlsx */ + public static get Slot042(): Slot042Table { return this._slot042 = this._slot042 || new Slot042Table(); } + + private static _slot043: Slot043Table; + /** SLOT_043亞歷山大#slot_043.xlsx */ + public static get Slot043(): Slot043Table { return this._slot043 = this._slot043 || new Slot043Table(); } + + private static _slot044: Slot044Table; + /** SLOT_044五龍#slot_044.xlsx */ + public static get Slot044(): Slot044Table { return this._slot044 = this._slot044 || new Slot044Table(); } + + private static _slot045: Slot045Table; + /** SLOT_045齊天大聖#slot_045.xlsx */ + public static get Slot045(): Slot045Table { return this._slot045 = this._slot045 || new Slot045Table(); } + + private static _slot047: Slot047Table; + /** SLOT_047財神降臨#slot_047.xlsx */ + public static get Slot047(): Slot047Table { return this._slot047 = this._slot047 || new Slot047Table(); } + + private static _slot048: Slot048Table; + /** SLOT_048福星88#slot_048.xlsx */ + public static get Slot048(): Slot048Table { return this._slot048 = this._slot048 || new Slot048Table(); } + + private static _slot049: Slot049Table; + /** SLOT_049熊貓#slot_049.xlsx */ + public static get Slot049(): Slot049Table { return this._slot049 = this._slot049 || new Slot049Table(); } + + private static _slot050: Slot050Table; + /** SLOT_050吉鼓發財#slot_050.xlsx */ + public static get Slot050(): Slot050Table { return this._slot050 = this._slot050 || new Slot050Table(); } + + private static _slot051: Slot051Table; + /** SLOT_051皇帝88#slot_051.xlsx */ + public static get Slot051(): Slot051Table { return this._slot051 = this._slot051 || new Slot051Table(); } + + private static _slot052: Slot052Table; + /** SLOT_052HUGA#slot_052.xlsx */ + public static get Slot052(): Slot052Table { return this._slot052 = this._slot052 || new Slot052Table(); } + + private static _slot054: Slot054Table; + /** SLOT_054猛瑪#slot_054.xlsx */ + public static get Slot054(): Slot054Table { return this._slot054 = this._slot054 || new Slot054Table(); } + + private static _slot056: Slot056Table; + /** SLOT_056彩虹筆#slot_056.xlsx */ + public static get Slot056(): Slot056Table { return this._slot056 = this._slot056 || new Slot056Table(); } + + private static _slot055: Slot055Table; + /** SLOT_055幸運美鈔#slot_055.xlsx */ + public static get Slot055(): Slot055Table { return this._slot055 = this._slot055 || new Slot055Table(); } + + private static _slot058: Slot058Table; + /** SLOT_058鳳凰之怒#slot_058.xlsx */ + public static get Slot058(): Slot058Table { return this._slot058 = this._slot058 || new Slot058Table(); } + + private static _slot059: Slot059Table; + /** SLOT_059多福單機版#slot_059.xlsx */ + public static get Slot059(): Slot059Table { return this._slot059 = this._slot059 || new Slot059Table(); } + + private static _slot060: Slot060Table; + /** SLOT_060無限連段#slot_060.xlsx */ + public static get Slot060(): Slot060Table { return this._slot060 = this._slot060 || new Slot060Table(); } + + private static _slot061: Slot061Table; + /** SLOT_061魔術方塊#slot_061.xlsx */ + public static get Slot061(): Slot061Table { return this._slot061 = this._slot061 || new Slot061Table(); } + + private static _bingo: BingoTable; + /** 系統_賓果#bingo.xlsx */ + public static get Bingo(): BingoTable { return this._bingo = this._bingo || new BingoTable(); } + + private static _slot1201: Slot1201Table; + /** SLOT_1201三勇者#slot_1201.xlsx */ + public static get Slot1201(): Slot1201Table { return this._slot1201 = this._slot1201 || new Slot1201Table(); } + + private static _slot1202: Slot1202Table; + /** SLOT_1202迴轉壽司#slot_1202.xlsx */ + public static get Slot1202(): Slot1202Table { return this._slot1202 = this._slot1202 || new Slot1202Table(); } + + private static _slot023: Slot023Table; + /** SLOT_023888巨輪#slot_023.xlsx */ + public static get Slot023(): Slot023Table { return this._slot023 = this._slot023 || new Slot023Table(); } + + private static _slot1501: Slot1501Table; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx */ + public static get Slot1501(): Slot1501Table { return this._slot1501 = this._slot1501 || new Slot1501Table(); } + + private static _string: StringTable; + /** 共用_字串表#string.xlsx */ + public static get String(): StringTable { return this._string = this._string || TableManager.InitTable("#string", StringTable, StringTableRow); } + + private static _line: LineTable; + /** 共用_走線表#line.xlsx */ + public static get Line(): LineTable { return this._line = this._line || new LineTable(); } + + private static _shop: ShopTable; + /** 共用_商城#shop.xlsx */ + public static get Shop(): ShopTable { return this._shop = this._shop || new ShopTable(); } + + private static _currency: CurrencyTable; + /** 共用_幣別表#currency.xlsx */ + public static get Currency(): CurrencyTable { return this._currency = this._currency || TableManager.InitTable("#currency", CurrencyTable, CurrencyTableRow); } + + private static _language: LanguageTable; + /** 共用_語系表#language.xlsx */ + public static get Language(): LanguageTable { return this._language = this._language || new LanguageTable(); } + + private static _fixed: FixedTable; + /** 共用_數值表#fixed.xlsx */ + public static get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#fixed", FixedTable, FixedTableRow); } + + private static _vip: VipTable; + /** 系統_VIP#vip.xlsx */ + public static get Vip(): VipTable { return this._vip = this._vip || new VipTable(); } + + private static _five: FiveTable; + /** 系統_五星彩#five.xlsx */ + public static get Five(): FiveTable { return this._five = this._five || new FiveTable(); } + + private static _formread: FormreadTable; + /** 系統_表單讀取#formread.xlsx */ + public static get Formread(): FormreadTable { return this._formread = this._formread || TableManager.InitTable("#formread", FormreadTable, FormreadTableRow); } + + private static _mail: MailTable; + /** 系統_信件#mail.xlsx */ + public static get Mail(): MailTable { return this._mail = this._mail || new MailTable(); } + + private static _sound: SoundTable; + /** 系統_音效表#sound.xlsx */ + public static get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#sound", SoundTable, SoundTableRow); } + + private static _rank: RankTable; + /** 系統_排行榜#rank.xlsx */ + public static get Rank(): RankTable { return this._rank = this._rank || TableManager.InitTable("#rank", RankTable, RankTableRow); } + + private static _chat: ChatTable; + /** 系統_聊天室#chat.xlsx */ + public static get Chat(): ChatTable { return this._chat = this._chat || new ChatTable(); } + + private static _level: LevelTable; + /** 系統_等級表#level.xlsx */ + public static get Level(): LevelTable { return this._level = this._level || TableManager.InitTable("#level", LevelTable, LevelTableRow); } + + private static _network: NetworkTable; + /** 系統_跑馬燈#network.xlsx */ + public static get Network(): NetworkTable { return this._network = this._network || new NetworkTable(); } + + private static _itemdrop: ItemdropTable; + /** 系統_道具掉落表#itemdrop.xlsx */ + public static get Itemdrop(): ItemdropTable { return this._itemdrop = this._itemdrop || new ItemdropTable(); } + + private static _itemmoney: ItemmoneyTable; + /** 系統_道具價錢表#itemmoney.xlsx */ + public static get Itemmoney(): ItemmoneyTable { return this._itemmoney = this._itemmoney || new ItemmoneyTable(); } + + private static _name: NameTable; + /** 系統_暱稱#name.xlsx */ + public static get Name(): NameTable { return this._name = this._name || new NameTable(); } + + private static _lobby: LobbyTable; + /** 系統_機台分桌#lobby.xlsx */ + public static get Lobby(): LobbyTable { return this._lobby = this._lobby || new LobbyTable(); } + + private static _head: HeadTable; + /** 系統_頭像#head.xlsx */ + public static get Head(): HeadTable { return this._head = this._head || TableManager.InitTable("#head", HeadTable, HeadTableRow); } + + private static _itemSetting: ItemSettingTable; + /** 系統_道具設定#item_setting.xlsx */ + public static get ItemSetting(): ItemSettingTable { return this._itemSetting = this._itemSetting || new ItemSettingTable(); } + + private static _cardUpgrade: CardUpgradeTable; + /** 系統_卡片強化#card_upgrade.xlsx */ + public static get CardUpgrade(): CardUpgradeTable { return this._cardUpgrade = this._cardUpgrade || new CardUpgradeTable(); } + + private static _betSetting: BetSettingTable; + /** 共用_幣種設定表#bet_setting.xlsx */ + public static get BetSetting(): BetSettingTable { return this._betSetting = this._betSetting || new BetSettingTable(); } + + private static _packet: PacketTable; + /** 系統_背包#packet.xlsx */ + public static get Packet(): PacketTable { return this._packet = this._packet || new PacketTable(); } + + private static _composite: CompositeTable; + /** 系統_合成表#composite.xlsx */ + public static get Composite(): CompositeTable { return this._composite = this._composite || new CompositeTable(); } + + private static _bingo9stars: Bingo9starsTable; + /** SLOT_1102彩票_九星彩#bingo_9stars.xlsx */ + public static get Bingo9stars(): Bingo9starsTable { return this._bingo9stars = this._bingo9stars || new Bingo9starsTable(); } + + private static _bingo8stars: Bingo8starsTable; + /** SLOT_1101彩票_百搭八星彩#bingo_8stars.xlsx */ + public static get Bingo8stars(): Bingo8starsTable { return this._bingo8stars = this._bingo8stars || new Bingo8starsTable(); } + + private static _slot1701: Slot1701Table; + /** SLOT_1701一錘千金#slot_1701.xlsx */ + public static get Slot1701(): Slot1701Table { return this._slot1701 = this._slot1701 || new Slot1701Table(); } + + private static _slot062: Slot062Table; + /** SLOT_062常勝將軍#slot_062.xlsx */ + public static get Slot062(): Slot062Table { return this._slot062 = this._slot062 || new Slot062Table(); } + + private static _cluster1303: Cluster1303Table; + /** Cluster_1303糖果爆炸#cluster_1303.xlsx */ + public static get Cluster1303(): Cluster1303Table { return this._cluster1303 = this._cluster1303 || new Cluster1303Table(); } + + private static _slot064: Slot064Table; + /** SLOT_064小姐姐釣大魚#slot_064.xlsx */ + public static get Slot064(): Slot064Table { return this._slot064 = this._slot064 || new Slot064Table(); } + + private static _operation: OperationTable; + /** 系統_營運活動#operation.xlsx */ + public static get Operation(): OperationTable { return this._operation = this._operation || new OperationTable(); } + + //#endregion AutoMappingClass +} diff --git a/src/script/FormTable/LoadingInit.ts b/src/script/FormTable/LoadingInit.ts new file mode 100644 index 0000000..32ffacd --- /dev/null +++ b/src/script/FormTable/LoadingInit.ts @@ -0,0 +1,108 @@ +import LocalStorageData from "../Engine/Data/LocalStorageData"; +import CSSettingsV3 from "./CSSettingsV3"; +import { LanguageManager } from "./Manage/Language/LanguageManager"; +import { ClipsHandleBySoundTable } from "./TableExt/ClipsHandleBySoundTable"; + +const { ccclass } = cc._decorator; + +@ccclass +export default class LoadingInit { + + private static _instance: LoadingInit = null; + public static get Instance(): LoadingInit { return this._instance; } + //#region private + private _mp3Length: number = 0; + private _mp3LoadedCount: number = 0; + private _handlerClips: ClipsHandleBySoundTable = null; + private _audioClips: cc.AudioClip[] = []; + //#endregion + + constructor() { + LoadingInit._instance = this; + let language: string = LocalStorageData.Instance.Language; + cc.log("1.language=" + language); + LanguageManager.UseLanguageUrlStr = language ? language : LanguageManager.UseLanguageUrlStr; + LanguageManager.UseLanguageUrlStr = LanguageManager.UseLanguageUrlStr ? LanguageManager.UseLanguageUrlStr : CSSettingsV3.Language.Lanuage[LanguageManager.DefaultLanguageFormId].Type; + LocalStorageData.Instance.Language = LanguageManager.UseLanguageUrlStr; + cc.log("2.language=" + LanguageManager.UseLanguageUrlStr, LocalStorageData.Instance.Language); + LanguageManager.Init(); + } + + public *LoadMp3AndLanguageInit(_onProgress: Function, _showProgress: Function): IterableIterator { + this._handlerClips = new ClipsHandleBySoundTable(0); + if (!this._handlerClips.SoundTable) { + _onProgress(); + return; + } + // 配合語系找語音(找不到載英語再找不到用預設語系語音) + let checkSoundPath: number[] = LanguageManager.SourceIndex != LanguageManager.Type.En ? + [LanguageManager.SourceIndex, LanguageManager.Type.En, LanguageManager.Type.ZnTw] : [LanguageManager.SourceIndex, LanguageManager.Type.ZnTw]; + let cloumTagString: string = ""; + for (let num of checkSoundPath) { + cloumTagString = CSSettingsV3.Language.Lanuage[num + 1].SoundPath; + cloumTagString = this._getCloumTag(cloumTagString); + let checkUrl: string = this._handlerClips.SoundTable.Rows[0][cloumTagString]; + if (checkUrl) { + this._handlerClips.UseCloumStr = cloumTagString; + break; + } + } + this._mp3Length = this._handlerClips.SoundTable.Rows.length; + this._mp3LoadedCount = 0; + _showProgress(this._mp3LoadedCount, this._mp3Length); + cc.log("使用語音:" + cloumTagString); + for (let row of this._handlerClips.SoundTable.Rows) { + let fileUrl: string = row[cloumTagString]; + if (!fileUrl) { + continue; + } + let name: string = fileUrl.substr(fileUrl.lastIndexOf("/") + 1, fileUrl.length); + //fileUrl = BusinessTypeSetting.UsePatch + BusinessTypeSetting.FolderUrlMp3 + fileUrl + ".mp3"; + //fileUrl = fileUrl + this._getParam(row.Id); + let bundle = cc.assetManager.getBundle("CommonSound"); + bundle.load(name, cc.AudioClip,(err, audioClip)=>this._loadMp3Process(err, audioClip, name, _showProgress)) + //cc.assetManager.loadRemote(fileUrl, (err, audioClip) => this._loadMp3Process(err, audioClip, name, _showProgress)); + } + while (this._mp3LoadedCount !== this._mp3Length) { + yield null; + } + yield* this._checkLoadMp3End(); + } + private _loadMp3Process(err: Error, res: cc.Asset, name: string, _showProgress: Function): void { + if (err == null) { + cc.log("[事件]mp3載入成功:" + name); + res.name = name; + this._audioClips.push(res); + this._mp3LoadedCount++; + _showProgress(this._mp3LoadedCount, this._mp3Length); + } else { + cc.warn("[Error]mp3載入失敗:" + name); + } + } + private *_checkLoadMp3End(): IterableIterator { + if (this._handlerClips.SoundTable) { + cc.log("[事件] 取得Common Mp3"); + } else { + cc.log("[事件] 沒有SoundTable"); + } + this._handlerClips.HandlerAppClips(this._audioClips); + } + + private _getCloumTag(cloumStr: string): string { + let strs: string[] = cloumStr.split("_"); + let newStr: string = ""; + for (let str of strs) { + newStr += str.substring(0, 1).toUpperCase().concat(str.substring(1).toLowerCase()); + } + return newStr; + } + private _getParam(id: number): string { + let str: string; + if (CC_PREVIEW) { + str = "?v=" + Date.now(); + } else { + str = "?v=" + CSSettingsV3.Sound[id].Version + ""; + } + return str; + } +} \ No newline at end of file diff --git a/src/script/FormTable/Manage/Currency/CurrencyManager.ts b/src/script/FormTable/Manage/Currency/CurrencyManager.ts new file mode 100644 index 0000000..21e7189 --- /dev/null +++ b/src/script/FormTable/Manage/Currency/CurrencyManager.ts @@ -0,0 +1,38 @@ +import CSSettingsV3 from "../../CSSettingsV3"; + +const { ccclass } = cc._decorator; + +@ccclass +export class CurrencyManager { + public static get DefaultCurrencyId(): number { return 3; } + public static get Currency(): number { return this._useFormId; } + private static _currencyStr: string = null; + private static _useFormId: number = null; + private static _numberWithComma: number = null; + public static get NumberWithComma(): number { return this._numberWithComma }; + + public static SetCurrency(data: JSON) { + if (!data) { + this._numberWithComma = 2; + this._currencyStr = "TWD" + } + this._numberWithComma = data["pr"]; + this._currencyStr = data["cu"]; + for (let i: number = 1; i < CSSettingsV3.Currency.Count; i++) { + let check: string = CSSettingsV3.Currency[i].Type; + if (check == this._currencyStr) { + this._useFormId = i; + return; + } + } + this._useFormId = this.DefaultCurrencyId; + } + + public static GetNumberWithComma(num: number, isPadZero: boolean = true): string { + return num.ExFormatNumberWithComma(this._numberWithComma, isPadZero); + } + + public static GetNumberTransferToBMK(num: number, offset: number = 0): string { + return num.ExTransferToBMK(this._numberWithComma, offset); + } +} \ No newline at end of file diff --git a/src/script/FormTable/Manage/Language/LanguageManager.ts b/src/script/FormTable/Manage/Language/LanguageManager.ts new file mode 100644 index 0000000..538c879 --- /dev/null +++ b/src/script/FormTable/Manage/Language/LanguageManager.ts @@ -0,0 +1,59 @@ +import CSSettingsV3 from "../../CSSettingsV3"; + +export class LanguageManager { + public static UseLanguageUrlStr: string = null; + public static get DefaultLanguageFormId(): number { return 3; } + public static get DefaultSourceIndex(): number { return this.DefaultLanguageFormId - 1; } + public static get SourceIndex(): number { return this._useFormId - 1; } + private static _useFormId: number = null; + private static _msgTableRowName: string = null; + private static _filePathStr: string = null; + + //======================================================================================= + public static Init(): void { + for (let i: number = 1; i < CSSettingsV3.Language.Lanuage.Count; i++) { + let con = CSSettingsV3.Language.Lanuage[i]; + if (con.Type == this.UseLanguageUrlStr) { + this._useFormId = con.Id; + break; + } + } + if (!this._useFormId) { + this._useFormId = LanguageManager.Type.ZnTw; + this.UseLanguageUrlStr = CSSettingsV3.Language.Lanuage[this._useFormId].Type; + } + } + + public static GetMsgId(): string { + if (!this._msgTableRowName) { + this._msgTableRowName = CSSettingsV3.Language.Lanuage[this._useFormId].Msg; + } + return this._msgTableRowName; + } + + public static TypePathStr(): string { + if (!this._filePathStr) { + this._filePathStr = CSSettingsV3.Language.Lanuage[this._useFormId].Path; + } + return this._filePathStr; + } + +} + +export module LanguageManager { + export enum Type { + ZnCh = 0, + En = 1, + ZnTw = 2, + Vi = 3, + Th = 4 + } + + export enum CommonUIType { + MAIN_1 = 0, + FREE_2 = 1, + BIGWIN_3 = 2, + JACKPOT_4 = 3, + TOP_5 = 4, + } +} \ No newline at end of file diff --git a/src/script/FormTable/Manage/Language/ScenceLanguageSourceSet.ts b/src/script/FormTable/Manage/Language/ScenceLanguageSourceSet.ts new file mode 100644 index 0000000..5d07a1c --- /dev/null +++ b/src/script/FormTable/Manage/Language/ScenceLanguageSourceSet.ts @@ -0,0 +1,107 @@ +import { LanguageManager } from "./LanguageManager"; + +export class ScenceLanguageSourceSet { + private static _CommonSource: cc.Node; + private static _source: cc.Node = null; + private static _content: cc.Node = null; + private static _allSlotLanguageSourceDic: Map = new Map(); + //======================================================================================= + /** + * 一般場景 + * @param parent 只能設目前場景 + * @param source 使用語系集合 + */ + public static SetNormalScence(parent: cc.Node, source: cc.Prefab[]) { + this._content = parent.getChildByName("LanguageContent"); + if (!this._content) { + this._content = parent.ExAddChild(new cc.Node("LanguageContent")); + } + if (source != null) { + this._content.ExAddChild(new cc.Node("CommonLanguageContent")); + this._source = this._content.ExAddChild(source[LanguageManager.SourceIndex]); + //(勿拿掉為了避美術不小心 關掉眼睛) + this._source.active = true; + for (let child of this._source.children) { + //(勿拿掉為了避美術不小心 關掉眼睛) + child.active = true; + for (let childchild of child.children) { + //(勿拿掉為了避美術不小心 打開眼睛) + childchild.active = false; + } + } + } + } + public static SetNormalScence_v2(parent: cc.Node, source: cc.Prefab) { + this._content = parent.getChildByName("LanguageContent"); + if (!this._content) { + this._content = parent.ExAddChild(new cc.Node("LanguageContent")); + } + if (source != null) { + this._content.ExAddChild(new cc.Node("CommonLanguageContent")); + this._source = this._content.ExAddChild(source); + //(勿拿掉為了避美術不小心 關掉眼睛) + this._source.active = true; + for (let child of this._source.children) { + //(勿拿掉為了避美術不小心 關掉眼睛) + child.active = true; + for (let childchild of child.children) { + //(勿拿掉為了避美術不小心 打開眼睛) + childchild.active = false; + } + } + } + } + //======================================================================================= + /** + * 遊戲場景 + * @param parent 只能目前場景 + * @param sourceCommonLanguage 通用語系包(上下UI) + * @param sourceSlotLanguage 機台介面語系 + */ + public static SetGameScence(parent: cc.Node, sourceCommonLanguage: cc.Prefab[], sourceSlotLanguage: cc.Node) { + this._content = parent; + if (sourceCommonLanguage != null && sourceCommonLanguage.length > 0) { + this._CommonSource = this._content.ExAddChild(sourceCommonLanguage[LanguageManager.SourceIndex]); + for (let commonLang of this._CommonSource.children) { + //(勿拿掉為了避美術不小心 關掉眼睛) + commonLang.active = true; + for (let commonLangChild of commonLang.children) { + //(勿拿掉為了避美術不小心 打開眼睛) + commonLangChild.active = false; + } + } + //(勿拿掉為了避美術不小心 關掉眼睛) + this._CommonSource.active = true; + } + else { + this._content.ExAddChild(new cc.Node("CommonLanguageContent")); + } + if (sourceSlotLanguage != null) { + this._source = sourceSlotLanguage; + this._source.setParent(this._content); + //(勿拿掉為了避美術不小心 關掉眼睛) + this._source.active = true; + for (let slotLanguage of this._source.children) { + //(勿拿掉為了避美術不小心 關掉眼睛) + slotLanguage.active = true; + for (let rollerSlotChild of slotLanguage.children) { + //(勿拿掉為了避美術不小心 打開眼睛) + rollerSlotChild.active = false; + } + this._allSlotLanguageSourceDic.set(+slotLanguage.name, slotLanguage); + } + } + } + public static CommonLanguageContent(type: number): cc.Node { + return this._content.children[0].children[type]; + } + + public static SlotLanguageContent(): cc.Node { + return this._content.children[1]; + } + + public static GetSlotLanguage(index: number): cc.Node { + return this._allSlotLanguageSourceDic.get(index); + } + //======================================================================================= +} \ No newline at end of file diff --git a/src/script/FormTable/TableExt/CSSettingsV3Ext.ts b/src/script/FormTable/TableExt/CSSettingsV3Ext.ts new file mode 100644 index 0000000..6facdf2 --- /dev/null +++ b/src/script/FormTable/TableExt/CSSettingsV3Ext.ts @@ -0,0 +1,214 @@ +import { ITableRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import BusinessTypeSetting from "../../_BusinessTypeSetting/BusinessTypeSetting"; +import CSSettingsV3 from "../CSSettingsV3"; +import { LanguageManager } from "../Manage/Language/LanguageManager"; + +declare module '../CSSettingsV3' { + export default interface CSSettingsV3 { + /** + * 共用String表欄位值 + * @param formId + */ + CommonString(formId: number): string; + /** + * 取得機台CSSettingsV3的COMMON表名 + * @param slotID + */ + CheckSlotFormNameStr(slotID: number): string; + /** + * 各機台String表欄位值 + * @param slotID + * @param formId + */ + SlotString(slotID: number, formId: number): string; + /** + * 各機台FIXED表的前後端共用欄位值 + * @param slotID + * @param formId + */ + SlotFixedBvalue(slotID: number, formId: number): number; + /** + * 各機台FIXED表的前端欄位值 + * @param slotID + * @param formId + */ + SlotFixedCvalue(slotID: number, formId: number): number; + /** + * 各機台WheelClient表的SymbolList欄位值 + * @param slotID + * @param formId + */ + SlotWheelClientSymbolList(slotID: number, formId: number): JSON; + /** + * 取得圖標表 + * @param slotID + */ + SlotSymbolTable(slotID: number): TableBase; + /** + * 取得連續圖 + * @param slotID + */ + SlotSymbolContinuousPic(slotID: number, formId: number): JSON; + /** + * PLAYTABL數值設定 + * @param slotID + * @param formId + */ + SlotPaytableBvalue(slotID: number, formId: number): number; + /** + * 判斷表存不存在 + * @param jsonFileName + * @param sheetName + */ + CheckTableExist(settingName: string, classSheetName: string): any; + CheckTableIdExist(table: any, id: number): any; + CheckGetValue(con: any, keyStr: string): any; + } +} + +CSSettingsV3.prototype.CheckSlotFormNameStr = function (slotID: number): string { + let con = CSSettingsV3.Slotset[slotID]; + if (con) { + let str = con.NameSetting; + return str; + } + cc.warn("Slotset沒有這個ID:" + slotID); + return null; +} + +CSSettingsV3.prototype.CheckTableExist = function (settingName: string, classSheetName: string): any { + let table = CSSettingsV3[settingName]; + if (table) { + if (classSheetName != "") { + table = table[classSheetName]; + if (!table) { + table = CSSettingsV3[settingName + BusinessTypeSetting.TYPE_BUSINESS]; + if (classSheetName != "") { + table = table[classSheetName]; + } + } + } + } else { + table = CSSettingsV3[settingName + BusinessTypeSetting.TYPE_BUSINESS]; + if (classSheetName != "") { + table = table[classSheetName]; + } + } + if (table) { + return table; + } + cc.warn("未知的表:" + settingName + "," + classSheetName); + return null; +} + +CSSettingsV3.prototype.CheckTableIdExist = function (table: any, id: number): any { + if (table) { + let con = table[id]; + if (con != null && con != undefined) { + return con; + } + cc.warn(table["__proto__"]["constructor"]["name"] + "未知的ID:" + id); + } + return null; +} + +CSSettingsV3.prototype.CheckGetValue = function (con: any, keyStr: string): any { + if (con) { + con = con[keyStr]; + if (con != null && con != undefined) { + return con; + } + cc.warn(con["__proto__"]["constructor"]["name"] + "取不到ID欄位的KEY值:" + keyStr); + } + return null; +} + +CSSettingsV3.prototype.CommonString = function (formId: number): string { + let table = CSSettingsV3.String; + let con = CSSettingsV3.prototype.CheckTableIdExist(table, formId); + let value: string = CSSettingsV3.prototype.CheckGetValue(con, LanguageManager.GetMsgId()); + if (value) { + value = value.replace('\\n', "\n"); + return value; + } + return ""; +} + +CSSettingsV3.prototype.SlotString = function (slotID: number, formId: number): string { + let formName = CSSettingsV3.prototype.CheckSlotFormNameStr(slotID); + let table = CSSettingsV3.prototype.CheckTableExist(formName, "String"); + let con = CSSettingsV3.prototype.CheckTableIdExist(table, formId); + let value: string = CSSettingsV3.prototype.CheckGetValue(con, LanguageManager.GetMsgId()); + if (value) { + value = value.replace('\\n', "\n"); + return value; + } + return ""; +} + +CSSettingsV3.prototype.SlotFixedBvalue = function (slotID: number, formId: number): number { + let formName = CSSettingsV3.prototype.CheckSlotFormNameStr(slotID); + let table = CSSettingsV3.prototype.CheckTableExist(formName, "Fixed"); + let con = CSSettingsV3.prototype.CheckTableIdExist(table, formId); + let value: string = CSSettingsV3.prototype.CheckGetValue(con, "BValue"); + if (value) { + let num: number = Number.parseFloat(value); + return num; + } + return 0; +} +CSSettingsV3.prototype.SlotFixedCvalue = function (slotID: number, formId: number): number { + let formName = CSSettingsV3.prototype.CheckSlotFormNameStr(slotID); + let table = CSSettingsV3.prototype.CheckTableExist(formName, "Fixed"); + let con = CSSettingsV3.prototype.CheckTableIdExist(table, formId); + let value: string = CSSettingsV3.prototype.CheckGetValue(con, "CValue"); + if (value) { + let num: number = Number.parseFloat(value); + return num; + } + return 0; +} + +CSSettingsV3.prototype.SlotWheelClientSymbolList = function (slotID: number, formId: number): JSON { + let formName = CSSettingsV3.prototype.CheckSlotFormNameStr(slotID); + let table = CSSettingsV3.prototype.CheckTableExist(formName, "WheelClient"); + let con = CSSettingsV3.prototype.CheckTableIdExist(table, formId); + let value: JSON = CSSettingsV3.prototype.CheckGetValue(con, "SymbolList"); + if (value) { + return value; + } + return null; +} + +CSSettingsV3.prototype.SlotSymbolTable = function (slotID: number): TableBase { + let formName = CSSettingsV3.prototype.CheckSlotFormNameStr(slotID); + let table = CSSettingsV3.prototype.CheckTableExist(formName, "Symbol"); + if (table) { + return table; + } + return null; +} + +CSSettingsV3.prototype.SlotSymbolContinuousPic = function (slotID: number, formId: number): JSON { + let formName = CSSettingsV3.prototype.CheckSlotFormNameStr(slotID); + let table = CSSettingsV3.prototype.CheckTableExist(formName, "Symbol"); + let con = CSSettingsV3.prototype.CheckTableIdExist(table, formId); + let value: JSON = CSSettingsV3.prototype.CheckGetValue(con, "ContinuousPic"); + if (value) { + return value; + } + return null; +} + +CSSettingsV3.prototype.SlotPaytableBvalue = function (slotID: number, formId: number): number { + let formName = CSSettingsV3.prototype.CheckSlotFormNameStr(slotID); + let table = CSSettingsV3.prototype.CheckTableExist(formName, "Paytable"); + let con = CSSettingsV3.prototype.CheckTableIdExist(table, formId); + let value: string = CSSettingsV3.prototype.CheckGetValue(con, "PayNormal"); + if (value) { + let num: number = Number.parseFloat(value); + return num; + } + return 0; +} \ No newline at end of file diff --git a/src/script/FormTable/TableExt/ClipsHandleBySoundTable.ts b/src/script/FormTable/TableExt/ClipsHandleBySoundTable.ts new file mode 100644 index 0000000..d229b38 --- /dev/null +++ b/src/script/FormTable/TableExt/ClipsHandleBySoundTable.ts @@ -0,0 +1,85 @@ +import { ITableRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import CSAudio from "../../Engine/Utils/Audio/CSAudio"; +import CSAppAudios from "../../Engine/Utils/Audio/CSCommonAudios"; +import CSSettingsV3 from "../CSSettingsV3"; + +export class ClipsHandleBySoundTable { + private _soundTable: TableBase = null; + public get SoundTable(): TableBase { return this._soundTable; } + private _useCloumStr: string = "PathZnTw"; + public set UseCloumStr(value: string) { this._useCloumStr = value; } + public get UseCloumStr() { return this._useCloumStr; } + + constructor(id: number) { + if (id != 0) { + this._soundTable = CSSettingsV3[CSSettingsV3.prototype.CheckSlotFormNameStr(id)]["Sound"]; + } else { + this._soundTable = CSSettingsV3.Sound; + } + } + + public HandlerClips(clips: cc.AudioClip[]): void { + let nameToClip: Map = new Map(); + for (let clip of clips) { + if (clip != null) { + nameToClip.set(clip.name, clip); + } + } + // 音樂對應表id + let idToClip: Map = new Map(); + let idToPath: Map = new Map(); + for (let row of this._soundTable.Rows) { + let id: number = row.Id; + let path: string = row[this._useCloumStr]; + if (path == null) { + continue; + } + let fileName: string = cc.path.basename(path); + if (nameToClip.has(fileName)) { + if (!idToClip.has(id)) { + idToClip.set(id, nameToClip.get(fileName)); + idToPath.set(id, path); + } + } + } + CSAudio.Instance.AddClipsInfo(idToClip, idToPath); + } + + public HandlerAppClips(clips: cc.AudioClip[]): void { + let nameToClip: Map = new Map(); + for (let clip of clips) { + if (clip != null) { + nameToClip.set(clip.name, clip); + } + } + // 音樂對應表id + let idToClip: Map = new Map(); + let idToPath: Map = new Map(); + for (let row of this._soundTable.Rows) { + let id: number = row.Id; + let path: string = row[this._useCloumStr]; + if (path == null) { + continue; + } + let fileName: string = cc.path.basename(path); + if (nameToClip.has(fileName)) { + if (!idToClip.has(id)) { + idToClip.set(id, nameToClip.get(fileName)); + idToPath.set(id, path); + } + } + } + CSAppAudios.InstanceApp.AddAppClipsInfo(idToClip, idToPath); + } +} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; + PathEn: string; +} \ No newline at end of file diff --git a/src/script/FormTable/TableExt/FixedTableExt.ts b/src/script/FormTable/TableExt/FixedTableExt.ts new file mode 100644 index 0000000..1bc2b5c --- /dev/null +++ b/src/script/FormTable/TableExt/FixedTableExt.ts @@ -0,0 +1,18 @@ +import { FixedTable } from "../Tables/FixedTable"; + +declare module '../Tables/FixedTable' { + interface FixedTable { + GetBigWinGameblingRate(idx: number): number; + GetBigWinGameblingRatePerSec(idx: number) : number; + } +} + +FixedTable.prototype.GetBigWinGameblingRate = function (idx: number) { + let self = this; + return self[201 + idx].Value; +} + +FixedTable.prototype.GetBigWinGameblingRatePerSec = function (idx: number){ + let self = this; + return self[221 + idx].Value; +} \ No newline at end of file diff --git a/src/script/FormTable/TableExt/MonkeytowerTableExt.ts b/src/script/FormTable/TableExt/MonkeytowerTableExt.ts new file mode 100644 index 0000000..6460172 --- /dev/null +++ b/src/script/FormTable/TableExt/MonkeytowerTableExt.ts @@ -0,0 +1,93 @@ +import { MonkeytowerTable } from "../Tables/MonkeytowerTable"; + +declare module '../Tables/MonkeytowerTable' { + interface MonkeytowerTable { + GetFixedValue(id: number, isGetBoth: boolean): number; + GetAddMonsterPos(stageNum: number): cc.Vec2; + GetDoorPos(stageNum: number): cc.Vec2; + GetBuildingType(stageNum: number, idx: number): number; + GetBuildingLength(stageNum: number): number; + GetBuildingPos(stageNum: number, idx: number): cc.Vec2; + GetCornerLength(stageNum: number): number; + GetCornerPos(stageNum: number, idx: number): cc.Vec2; + GetCornerMove(stageNum: number, idx: number): cc.Vec2; + GetTowerAtkRange(id: number, lv: number): number; + GetTowerAtkSpeed(id: number, lv: number): number; + } +} + +MonkeytowerTable.prototype.GetFixedValue = function (id: number, isGetBoth: boolean) { + let self = this; + let value: number = undefined; + if (isGetBoth) { + value = self.Fixed[id]["BValue"]; + } else { + value = self.Fixed[id]["CValue"]; + } + return value; +} + +MonkeytowerTable.prototype.GetTowerAtkSpeed = function (id: number, lv: number) { + let self = this; + let range: number = self.Tower[id]["AttackSpeed" + lv]; + return range; +} + +MonkeytowerTable.prototype.GetTowerAtkRange = function (id: number, lv: number) { + let self = this; + let range: number = self.Tower[id]["AttackRange" + lv]; + return range; +} + +MonkeytowerTable.prototype.GetAddMonsterPos = function (stageNum: number) { + let self = this; + let x: number = self["Set" + stageNum][1].CoordinateX; + let y: number = self["Set" + stageNum][1].CoordinateY; + return cc.v2(x, y); +} + +MonkeytowerTable.prototype.GetDoorPos = function (stageNum: number) { + let self = this; + let x: number = self["Set" + stageNum][2].CoordinateX; + let y: number = self["Set" + stageNum][2].CoordinateY; + return cc.v2(x, y); +} + +MonkeytowerTable.prototype.GetBuildingType = function (stageNum: number, idx: number) { + let self = this; + let type: number = self["Building" + stageNum][idx].Type; + return type; +} + +MonkeytowerTable.prototype.GetBuildingLength = function (stageNum: number) { + let self = this; + let num: number = self["Building" + stageNum].Keys.length; + return num; +} + +MonkeytowerTable.prototype.GetBuildingPos = function (stageNum: number, idx: number) { + let self = this; + let x: number = self["Building" + stageNum][idx].CoordinateX; + let y: number = self["Building" + stageNum][idx].CoordinateY; + return cc.v2(x, y); +} + +MonkeytowerTable.prototype.GetCornerLength = function (stageNum: number) { + let self = this; + let num: number = self["Corner" + stageNum].Keys.length; + return num; +} + +MonkeytowerTable.prototype.GetCornerPos = function (stageNum: number, idx: number) { + let self = this; + let x: number = self["Corner" + stageNum][idx].CoordinateX; + let y: number = self["Corner" + stageNum][idx].CoordinateY; + return cc.v2(x, y); +} + +MonkeytowerTable.prototype.GetCornerMove = function (stageNum: number, idx: number) { + let self = this; + let x: number = self["Corner" + stageNum][idx].MovingX; + let y: number = self["Corner" + stageNum][idx].MovingY; + return cc.v2(x, y); +} \ No newline at end of file diff --git a/src/script/FormTable/TableExt/StringTableExt.ts b/src/script/FormTable/TableExt/StringTableExt.ts new file mode 100644 index 0000000..94625c4 --- /dev/null +++ b/src/script/FormTable/TableExt/StringTableExt.ts @@ -0,0 +1,56 @@ +import { StringFilterTable, StringTable, StringTableRow } from "../Tables/StringTable"; + +declare module '../Tables/StringTable' { + interface StringTable { + GetVipSetName(set: number): string; + Get(language: number, id: number): string; + } + + interface StringTableRow { + ChangeMsg(): string; + } + + interface StringFilterTable { + CheckDirtyWord(targetStr: string): boolean; + } +} + +StringTable.prototype.GetVipSetName = function(set: number) { + let self = this; + return self.Get(0, set); +} + +StringTable.prototype.Get = function(language: number, id: number): string { + let self = this; + // switch (language) + // { + // case 0: + // return self[id].MsgZnTw; + // case 1: + // return self[id].MsgEn; + // case 2: + // return self[id].MsgZnCh; + // default: + // return "Unknown"; + // } + return self[id].MsgZnCh; +} + +StringTableRow.prototype.ChangeMsg = function() { + let self = this; + return self.MsgZnCh + 'hello'; +} + +StringFilterTable.prototype.CheckDirtyWord = function(targetStr: string): boolean { + let self = this; + targetStr = targetStr.toLowerCase(); + + for (let item of self.Rows) + { + if (targetStr.indexOf(item.FilterWord) >= 0) + { + return true; + } + } + return false; +} \ No newline at end of file diff --git a/src/script/FormTable/Tables/Bar1401Table.ts b/src/script/FormTable/Tables/Bar1401Table.ts new file mode 100644 index 0000000..0a2c728 --- /dev/null +++ b/src/script/FormTable/Tables/Bar1401Table.ts @@ -0,0 +1,153 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * BAR_1401麻辣小瑪莉#bar_1401.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Bar1401Table extends TableBase { + private _fixed: FixedTable; + /** BAR_1401麻辣小瑪莉#bar_1401.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#bar_1401#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** BAR_1401麻辣小瑪莉#bar_1401.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#bar_1401#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** BAR_1401麻辣小瑪莉#bar_1401.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#bar_1401#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** BAR_1401麻辣小瑪莉#bar_1401.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#bar_1401#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** BAR_1401麻辣小瑪莉#bar_1401.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#bar_1401#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** BAR_1401麻辣小瑪莉#bar_1401.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#bar_1401#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** BAR_1401麻辣小瑪莉#bar_1401.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#bar_1401#sound", SoundTable, SoundTableRow); } + + private _string: StringTable; + /** BAR_1401麻辣小瑪莉#bar_1401.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#bar_1401#string", StringTable, StringTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + Lamp: number; + /** 賠率 */ + X9: number; + /** 賠率 */ + X8: number; + /** 賠率 */ + X7: number; + /** 賠率 */ + X6: number; + /** 賠率 */ + JP: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; +} diff --git a/src/script/FormTable/Tables/BetSettingTable.ts b/src/script/FormTable/Tables/BetSettingTable.ts new file mode 100644 index 0000000..365e9ba --- /dev/null +++ b/src/script/FormTable/Tables/BetSettingTable.ts @@ -0,0 +1,103 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 共用_幣種設定表#bet_setting.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class BetSettingTable extends TableBase { + private _betAPP: BetAPPTable; + /** 共用_幣種設定表#bet_setting.xlsx > #bet_APP */ + public get BetAPP(): BetAPPTable { return this._betAPP = this._betAPP || TableManager.InitTable("#bet_setting#bet_APP", BetAPPTable, BetAPPTableRow); } +} + +/** + * #bet_APP + */ +export class BetAPPTable extends TableBase {} + +export class BetAPPTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 1階 */ + Rank1: number; + /** 2階 */ + Rank2: number; + /** 3階 */ + Rank3: number; + /** 4階 */ + Rank4: number; + /** 5階 */ + Rank5: number; + /** 6階 */ + Rank6: number; + /** 7階 */ + Rank7: number; + /** 8階 */ + Rank8: number; + /** 9階 */ + Rank9: number; + /** 10階 */ + Rank10: number; + /** 11階 */ + Rank11: number; + /** 12階 */ + Rank12: number; + /** 13階 */ + Rank13: number; + /** 14階 */ + Rank14: number; + /** 15階 */ + Rank15: number; + /** 16階 */ + Rank16: number; + /** 17階 */ + Rank17: number; + /** 18階 */ + Rank18: number; + /** 19階 */ + Rank19: number; + /** 20階 */ + Rank20: number; + /** 21階 */ + Rank21: number; + /** 22階 */ + Rank22: number; + /** 23階 */ + Rank23: number; + /** 24階 */ + Rank24: number; + /** 25階 */ + Rank25: number; + /** 26階 */ + Rank26: number; + /** 27階 */ + Rank27: number; + /** 28階 */ + Rank28: number; + /** 29階 */ + Rank29: number; + /** 30階 */ + Rank30: number; + /** 31階 */ + Rank31: number; + /** 32階 */ + Rank32: number; + /** 33階 */ + Rank33: number; + /** 34階 */ + Rank34: number; + /** 35階 */ + Rank35: number; + /** 36階 */ + Rank36: number; + /** 37階 */ + Rank37: number; + /** 38階 */ + Rank38: number; + /** 39階 */ + Rank39: number; + /** 40階 */ + Rank40: number; +} diff --git a/src/script/FormTable/Tables/Bingo8starsTable.ts b/src/script/FormTable/Tables/Bingo8starsTable.ts new file mode 100644 index 0000000..07c83fa --- /dev/null +++ b/src/script/FormTable/Tables/Bingo8starsTable.ts @@ -0,0 +1,109 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_1101彩票_百搭八星彩#bingo_8stars.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Bingo8starsTable extends TableBase { + private _fixed: FixedTable; + /** SLOT_1101彩票_百搭八星彩#bingo_8stars.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#bingo_8stars#fixed", FixedTable, FixedTableRow); } + + private _pay: PayTable; + /** SLOT_1101彩票_百搭八星彩#bingo_8stars.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#bingo_8stars#pay", PayTable, PayTableRow); } + + private _symbol: SymbolTable; + /** SLOT_1101彩票_百搭八星彩#bingo_8stars.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#bingo_8stars#symbol", SymbolTable, SymbolTableRow); } + + private _wheel: WheelTable; + /** SLOT_1101彩票_百搭八星彩#bingo_8stars.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#bingo_8stars#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_1101彩票_百搭八星彩#bingo_8stars.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#bingo_8stars#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_1101彩票_百搭八星彩#bingo_8stars.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#bingo_8stars#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + Value: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 星數 */ + Stars: number; + /** 基礎賠率 */ + Pay: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 倍率 */ + Mul: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Bingo9starsTable.ts b/src/script/FormTable/Tables/Bingo9starsTable.ts new file mode 100644 index 0000000..73bbdd0 --- /dev/null +++ b/src/script/FormTable/Tables/Bingo9starsTable.ts @@ -0,0 +1,77 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_1102彩票_九星彩#bingo_9stars.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Bingo9starsTable extends TableBase { + private _fixed: FixedTable; + /** SLOT_1102彩票_九星彩#bingo_9stars.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#bingo_9stars#fixed", FixedTable, FixedTableRow); } + + private _pay: PayTable; + /** SLOT_1102彩票_九星彩#bingo_9stars.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#bingo_9stars#pay", PayTable, PayTableRow); } + + private _card: CardTable; + /** SLOT_1102彩票_九星彩#bingo_9stars.xlsx > #card */ + public get Card(): CardTable { return this._card = this._card || TableManager.InitTable("#bingo_9stars#card", CardTable, CardTableRow); } + + private _sound: SoundTable; + /** SLOT_1102彩票_九星彩#bingo_9stars.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#bingo_9stars#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + Value: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 星數 */ + Stars: number; + /** 基礎賠率 */ + Pay: number; +} + +/** + * #card + */ +export class CardTable extends TableBase {} + +export class CardTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/BingoTable.ts b/src/script/FormTable/Tables/BingoTable.ts new file mode 100644 index 0000000..7945aef --- /dev/null +++ b/src/script/FormTable/Tables/BingoTable.ts @@ -0,0 +1,83 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_賓果#bingo.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class BingoTable extends TableBase { + private _fixed: FixedTable; + /** 系統_賓果#bingo.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#bingo#fixed", FixedTable, FixedTableRow); } + + private _award: AwardTable; + /** 系統_賓果#bingo.xlsx > #award */ + public get Award(): AwardTable { return this._award = this._award || TableManager.InitTable("#bingo#award", AwardTable, AwardTableRow); } + + private _specialtime: SpecialtimeTable; + /** 系統_賓果#bingo.xlsx > #specialtime */ + public get Specialtime(): SpecialtimeTable { return this._specialtime = this._specialtime || TableManager.InitTable("#bingo#specialtime", SpecialtimeTable, SpecialtimeTableRow); } + + private _string: StringTable; + /** 系統_賓果#bingo.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#bingo#string", StringTable, StringTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + BValue: number; + /** 值 */ + CValue: number; +} + +/** + * #award + */ +export class AwardTable extends TableBase {} + +export class AwardTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + Award1: number; + /** 值 */ + Award2: number; + /** 值 */ + Award3: number; +} + +/** + * #specialtime + */ +export class SpecialtimeTable extends TableBase {} + +export class SpecialtimeTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 開始時間 */ + Timestart: string; + /** 開始時間 */ + Timeend: string; + /** 時間間隔(分鐘) */ + Value: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 介面字串 */ + MsgZnTw: string; +} diff --git a/src/script/FormTable/Tables/CardUpgradeTable.ts b/src/script/FormTable/Tables/CardUpgradeTable.ts new file mode 100644 index 0000000..559b76c --- /dev/null +++ b/src/script/FormTable/Tables/CardUpgradeTable.ts @@ -0,0 +1,45 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_卡片強化#card_upgrade.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class CardUpgradeTable extends TableBase { + private _upgradeSetting: UpgradeSettingTable; + /** 系統_卡片強化#card_upgrade.xlsx > #upgrade_setting */ + public get UpgradeSetting(): UpgradeSettingTable { return this._upgradeSetting = this._upgradeSetting || TableManager.InitTable("#card_upgrade#upgrade_setting", UpgradeSettingTable, UpgradeSettingTableRow); } + + private _string: StringTable; + /** 系統_卡片強化#card_upgrade.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#card_upgrade#string", StringTable, StringTableRow); } +} + +/** + * #upgrade_setting + */ +export class UpgradeSettingTable extends TableBase {} + +export class UpgradeSettingTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 升級 */ + Upgrade: number; + /** 機率 (%) */ + Chance: number; + /** 花費 */ + Spend: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 繁體中文訊息 */ + MsgZnTw: string; +} diff --git a/src/script/FormTable/Tables/ChatTable.ts b/src/script/FormTable/Tables/ChatTable.ts new file mode 100644 index 0000000..c3375c6 --- /dev/null +++ b/src/script/FormTable/Tables/ChatTable.ts @@ -0,0 +1,81 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_聊天室#chat.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class ChatTable extends TableBase { + private _channel: ChannelTable; + /** 系統_聊天室#chat.xlsx > #channel */ + public get Channel(): ChannelTable { return this._channel = this._channel || TableManager.InitTable("#chat#channel", ChannelTable, ChannelTableRow); } + + private _fixed: FixedTable; + /** 系統_聊天室#chat.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#chat#fixed", FixedTable, FixedTableRow); } + + private _banstring: BanstringTable; + /** 系統_聊天室#chat.xlsx > #banstring */ + public get Banstring(): BanstringTable { return this._banstring = this._banstring || TableManager.InitTable("#chat#banstring", BanstringTable, BanstringTableRow); } + + private _string: StringTable; + /** 系統_聊天室#chat.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#chat#string", StringTable, StringTableRow); } +} + +/** + * #channel + */ +export class ChannelTable extends TableBase {} + +export class ChannelTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 名稱 */ + Name: string; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 參數 */ + ValueC: number; +} + +/** + * #banstring + */ +export class BanstringTable extends TableBase {} + +export class BanstringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 禁字 */ + Word: string; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} diff --git a/src/script/FormTable/Tables/Cluster1302Table.ts b/src/script/FormTable/Tables/Cluster1302Table.ts new file mode 100644 index 0000000..27a1d4e --- /dev/null +++ b/src/script/FormTable/Tables/Cluster1302Table.ts @@ -0,0 +1,249 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * Cluster_1302鍊金術士#cluster_1302.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Cluster1302Table extends TableBase { + private _fixed: FixedTable; + /** Cluster_1302鍊金術士#cluster_1302.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#cluster_1302#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** Cluster_1302鍊金術士#cluster_1302.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#cluster_1302#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** Cluster_1302鍊金術士#cluster_1302.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#cluster_1302#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** Cluster_1302鍊金術士#cluster_1302.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#cluster_1302#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** Cluster_1302鍊金術士#cluster_1302.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#cluster_1302#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** Cluster_1302鍊金術士#cluster_1302.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#cluster_1302#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** Cluster_1302鍊金術士#cluster_1302.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#cluster_1302#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; + /** 賠率 */ + X6: number; + /** 賠率 */ + X7: number; + /** 賠率 */ + X8: number; + /** 賠率 */ + X9: number; + /** 賠率 */ + X10: number; + /** 賠率 */ + X11: number; + /** 賠率 */ + X12: number; + /** 賠率 */ + X13: number; + /** 賠率 */ + X14: number; + /** 賠率 */ + X15: number; + /** 賠率 */ + X16: number; + /** 賠率 */ + X17: number; + /** 賠率 */ + X18: number; + /** 賠率 */ + X19: number; + /** 賠率 */ + X20: number; + /** 賠率 */ + X21: number; + /** 賠率 */ + X22: number; + /** 賠率 */ + X23: number; + /** 賠率 */ + X24: number; + /** 賠率 */ + X25: number; + /** 賠率 */ + X26: number; + /** 賠率 */ + X27: number; + /** 賠率 */ + X28: number; + /** 賠率 */ + X29: number; + /** 賠率 */ + X30: number; + /** 賠率 */ + X31: number; + /** 賠率 */ + X32: number; + /** 賠率 */ + X33: number; + /** 賠率 */ + X34: number; + /** 賠率 */ + X35: number; + /** 賠率 */ + X36: number; + /** 賠率 */ + X37: number; + /** 賠率 */ + X38: number; + /** 賠率 */ + X39: number; + /** 賠率 */ + X40: number; + /** 賠率 */ + X41: number; + /** 賠率 */ + X42: number; + /** 賠率 */ + X43: number; + /** 賠率 */ + X44: number; + /** 賠率 */ + X45: number; + /** 賠率 */ + X46: number; + /** 賠率 */ + X47: number; + /** 賠率 */ + X48: number; + /** 賠率 */ + X49: number; + /** 賠率 */ + X50: number; + /** 賠率 */ + X51: number; + /** 賠率 */ + X52: number; + /** 賠率 */ + X53: number; + /** 賠率 */ + X54: number; + /** 賠率 */ + X55: number; + /** 賠率 */ + X56: number; + /** 賠率 */ + X57: number; + /** 賠率 */ + X58: number; + /** 賠率 */ + X59: number; + /** 賠率 */ + X60: number; + /** 賠率 */ + X61: number; + /** 賠率 */ + X62: number; + /** 賠率 */ + X63: number; + /** 賠率 */ + X64: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Cluster1303Table.ts b/src/script/FormTable/Tables/Cluster1303Table.ts new file mode 100644 index 0000000..ee5abde --- /dev/null +++ b/src/script/FormTable/Tables/Cluster1303Table.ts @@ -0,0 +1,249 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * Cluster_1303糖果爆炸#cluster_1303.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Cluster1303Table extends TableBase { + private _fixed: FixedTable; + /** Cluster_1303糖果爆炸#cluster_1303.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#cluster_1303#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** Cluster_1303糖果爆炸#cluster_1303.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#cluster_1303#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** Cluster_1303糖果爆炸#cluster_1303.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#cluster_1303#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** Cluster_1303糖果爆炸#cluster_1303.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#cluster_1303#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** Cluster_1303糖果爆炸#cluster_1303.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#cluster_1303#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** Cluster_1303糖果爆炸#cluster_1303.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#cluster_1303#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** Cluster_1303糖果爆炸#cluster_1303.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#cluster_1303#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; + /** 賠率 */ + X6: number; + /** 賠率 */ + X7: number; + /** 賠率 */ + X8: number; + /** 賠率 */ + X9: number; + /** 賠率 */ + X10: number; + /** 賠率 */ + X11: number; + /** 賠率 */ + X12: number; + /** 賠率 */ + X13: number; + /** 賠率 */ + X14: number; + /** 賠率 */ + X15: number; + /** 賠率 */ + X16: number; + /** 賠率 */ + X17: number; + /** 賠率 */ + X18: number; + /** 賠率 */ + X19: number; + /** 賠率 */ + X20: number; + /** 賠率 */ + X21: number; + /** 賠率 */ + X22: number; + /** 賠率 */ + X23: number; + /** 賠率 */ + X24: number; + /** 賠率 */ + X25: number; + /** 賠率 */ + X26: number; + /** 賠率 */ + X27: number; + /** 賠率 */ + X28: number; + /** 賠率 */ + X29: number; + /** 賠率 */ + X30: number; + /** 賠率 */ + X31: number; + /** 賠率 */ + X32: number; + /** 賠率 */ + X33: number; + /** 賠率 */ + X34: number; + /** 賠率 */ + X35: number; + /** 賠率 */ + X36: number; + /** 賠率 */ + X37: number; + /** 賠率 */ + X38: number; + /** 賠率 */ + X39: number; + /** 賠率 */ + X40: number; + /** 賠率 */ + X41: number; + /** 賠率 */ + X42: number; + /** 賠率 */ + X43: number; + /** 賠率 */ + X44: number; + /** 賠率 */ + X45: number; + /** 賠率 */ + X46: number; + /** 賠率 */ + X47: number; + /** 賠率 */ + X48: number; + /** 賠率 */ + X49: number; + /** 賠率 */ + X50: number; + /** 賠率 */ + X51: number; + /** 賠率 */ + X52: number; + /** 賠率 */ + X53: number; + /** 賠率 */ + X54: number; + /** 賠率 */ + X55: number; + /** 賠率 */ + X56: number; + /** 賠率 */ + X57: number; + /** 賠率 */ + X58: number; + /** 賠率 */ + X59: number; + /** 賠率 */ + X60: number; + /** 賠率 */ + X61: number; + /** 賠率 */ + X62: number; + /** 賠率 */ + X63: number; + /** 賠率 */ + X64: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Collect001Table.ts b/src/script/FormTable/Tables/Collect001Table.ts new file mode 100644 index 0000000..4a359e4 --- /dev/null +++ b/src/script/FormTable/Tables/Collect001Table.ts @@ -0,0 +1,139 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * COLLECT_001猛瑪#collect_001.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Collect001Table extends TableBase { + private _collect: CollectTable; + /** COLLECT_001猛瑪#collect_001.xlsx > #collect */ + public get Collect(): CollectTable { return this._collect = this._collect || TableManager.InitTable("#collect_001#collect", CollectTable, CollectTableRow); } + + private _fixed: FixedTable; + /** COLLECT_001猛瑪#collect_001.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#collect_001#fixed", FixedTable, FixedTableRow); } + + private _token: TokenTable; + /** COLLECT_001猛瑪#collect_001.xlsx > #token */ + public get Token(): TokenTable { return this._token = this._token || TableManager.InitTable("#collect_001#token", TokenTable, TokenTableRow); } + + private _symbol: SymbolTable; + /** COLLECT_001猛瑪#collect_001.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#collect_001#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** COLLECT_001猛瑪#collect_001.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#collect_001#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** COLLECT_001猛瑪#collect_001.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#collect_001#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** COLLECT_001猛瑪#collect_001.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#collect_001#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #collect + */ +export class CollectTable extends TableBase {} + +export class CollectTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 此區單格所需token */ + Tokens: number; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** 共用(名稱) */ + BName: string; + /** client專用(值) */ + CValue: number; + /** client專用(名稱) */ + CName: string; +} + +/** + * #token + */ +export class TokenTable extends TableBase {} + +export class TokenTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** token種類 */ + TokenType: number; + /** token數量 */ + Token: any; + /** 可掛token的圖標 */ + PermitSymbols: any; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Collect002Table.ts b/src/script/FormTable/Tables/Collect002Table.ts new file mode 100644 index 0000000..ec8cda6 --- /dev/null +++ b/src/script/FormTable/Tables/Collect002Table.ts @@ -0,0 +1,29 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * COLLECT_002幸運美鈔#collect_002.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Collect002Table extends TableBase { + private _collect: CollectTable; + /** COLLECT_002幸運美鈔#collect_002.xlsx > #collect */ + public get Collect(): CollectTable { return this._collect = this._collect || TableManager.InitTable("#collect_002#collect", CollectTable, CollectTableRow); } +} + +/** + * #collect + */ +export class CollectTable extends TableBase {} + +export class CollectTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 此區單格所需token */ + Tokens: number; + /** 戳幾次 */ + Pick: number; + /** 金庫倍率 */ + Multiple: any; +} diff --git a/src/script/FormTable/Tables/CompositeTable.ts b/src/script/FormTable/Tables/CompositeTable.ts new file mode 100644 index 0000000..a47bf46 --- /dev/null +++ b/src/script/FormTable/Tables/CompositeTable.ts @@ -0,0 +1,35 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_合成表#composite.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class CompositeTable extends TableBase { + private _chip: ChipTable; + /** 系統_合成表#composite.xlsx > #chip */ + public get Chip(): ChipTable { return this._chip = this._chip || TableManager.InitTable("#composite#chip", ChipTable, ChipTableRow); } +} + +/** + * #chip + */ +export class ChipTable extends TableBase {} + +export class ChipTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 碎片1 */ + Chip1: any; + /** 碎片2 */ + Chip2: any; + /** 碎片3 */ + Chip3: any; + /** 碎片4 */ + Chip4: any; + /** 碎片5 */ + Chip5: any; + /** 碎片6 */ + Chip6: any; +} diff --git a/src/script/FormTable/Tables/CurrencyTable.ts b/src/script/FormTable/Tables/CurrencyTable.ts new file mode 100644 index 0000000..18e74d7 --- /dev/null +++ b/src/script/FormTable/Tables/CurrencyTable.ts @@ -0,0 +1,18 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 共用_幣別表#currency.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class CurrencyTable extends TableBase {} + +export class CurrencyTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 名稱 */ + Name: string; + /** 代碼 */ + Type: string; +} diff --git a/src/script/FormTable/Tables/Fish2003Table.ts b/src/script/FormTable/Tables/Fish2003Table.ts new file mode 100644 index 0000000..8069691 --- /dev/null +++ b/src/script/FormTable/Tables/Fish2003Table.ts @@ -0,0 +1,421 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 捕魚機_乖鵝子捕魚#fish2003.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Fish2003Table extends TableBase { + private _fixed: FixedTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#fish2003#fixed", FixedTable, FixedTableRow); } + + private _betpage: BetpageTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #betpage */ + public get Betpage(): BetpageTable { return this._betpage = this._betpage || TableManager.InitTable("#fish2003#betpage", BetpageTable, BetpageTableRow); } + + private _fish: FishTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #fish */ + public get Fish(): FishTable { return this._fish = this._fish || TableManager.InitTable("#fish2003#fish", FishTable, FishTableRow); } + + private _special: SpecialTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #special */ + public get Special(): SpecialTable { return this._special = this._special || TableManager.InitTable("#fish2003#special", SpecialTable, SpecialTableRow); } + + private _fishGroup: FishGroupTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #fish_group */ + public get FishGroup(): FishGroupTable { return this._fishGroup = this._fishGroup || TableManager.InitTable("#fish2003#fish_group", FishGroupTable, FishGroupTableRow); } + + private _groupCreate1: GroupCreate1Table; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #group_create1 */ + public get GroupCreate1(): GroupCreate1Table { return this._groupCreate1 = this._groupCreate1 || TableManager.InitTable("#fish2003#group_create1", GroupCreate1Table, GroupCreate1TableRow); } + + private _groupCreate2: GroupCreate2Table; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #group_create2 */ + public get GroupCreate2(): GroupCreate2Table { return this._groupCreate2 = this._groupCreate2 || TableManager.InitTable("#fish2003#group_create2", GroupCreate2Table, GroupCreate2TableRow); } + + private _groupCreate3: GroupCreate3Table; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #group_create3 */ + public get GroupCreate3(): GroupCreate3Table { return this._groupCreate3 = this._groupCreate3 || TableManager.InitTable("#fish2003#group_create3", GroupCreate3Table, GroupCreate3TableRow); } + + private _groupCreate4: GroupCreate4Table; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #group_create4 */ + public get GroupCreate4(): GroupCreate4Table { return this._groupCreate4 = this._groupCreate4 || TableManager.InitTable("#fish2003#group_create4", GroupCreate4Table, GroupCreate4TableRow); } + + private _fishpath: FishpathTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #fishpath */ + public get Fishpath(): FishpathTable { return this._fishpath = this._fishpath || TableManager.InitTable("#fish2003#fishpath", FishpathTable, FishpathTableRow); } + + private _formula: FormulaTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #formula */ + public get Formula(): FormulaTable { return this._formula = this._formula || TableManager.InitTable("#fish2003#formula", FormulaTable, FormulaTableRow); } + + private _bonus: BonusTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #bonus */ + public get Bonus(): BonusTable { return this._bonus = this._bonus || TableManager.InitTable("#fish2003#bonus", BonusTable, BonusTableRow); } + + private _scenes: ScenesTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #scenes */ + public get Scenes(): ScenesTable { return this._scenes = this._scenes || TableManager.InitTable("#fish2003#scenes", ScenesTable, ScenesTableRow); } + + private _tower: TowerTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #tower */ + public get Tower(): TowerTable { return this._tower = this._tower || TableManager.InitTable("#fish2003#tower", TowerTable, TowerTableRow); } + + private _auto: AutoTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #auto */ + public get Auto(): AutoTable { return this._auto = this._auto || TableManager.InitTable("#fish2003#auto", AutoTable, AutoTableRow); } + + private _sound: SoundTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#fish2003#sound", SoundTable, SoundTableRow); } + + private _ai: AiTable; + /** 捕魚機_乖鵝子捕魚#fish2003.xlsx > #ai */ + public get Ai(): AiTable { return this._ai = this._ai || TableManager.InitTable("#fish2003#ai", AiTable, AiTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #betpage + */ +export class BetpageTable extends TableBase {} + +export class BetpageTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 最低金額 */ + Wallet: number; + /** 最小階級 */ + BetrankMini: number; + /** 最大階級 */ + BetrankMax: number; + /** 預設階級 */ + BetrankPreset: number; +} + +/** + * #fish + */ +export class FishTable extends TableBase {} + +export class FishTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 類型 */ + Type: number; + /** 倍率 */ + Pay: any; + /** 死亡 */ + Die: number; + /** 死亡表演 */ + Showtype: number; + /** AI死亡表演 */ + ShowtypeAI: number; +} + +/** + * #special + */ +export class SpecialTable extends TableBase {} + +export class SpecialTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 給分方式 */ + Type: number; + /** 子彈數 */ + Args: number; + /** 倍率 */ + Pay: number; + /** 可秒殺的魚 */ + KillGroup: any; + /** 死亡表演 */ + Showtype: number; +} + +/** + * #fish_group + */ +export class FishGroupTable extends TableBase {} + +export class FishGroupTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 造型 */ + Skin: number; + /** 動作 */ + Move: any; + /** 動作時間 */ + Time: any; + /** 尺寸 */ + Size: number; + /** 碰撞盒 */ + Boxsize: any; + /** 類型 */ + Type: number; + /** 對應目標 */ + Targets: any; + /** 機率_權重 */ + Sum: number; + /** 機率 */ + Weights: any; + /** 顯示賠率 */ + Pay: any; + /** 層級 */ + Level: number; +} + +/** + * #group_create1 + */ +export class GroupCreate1Table extends TableBase {} + +export class GroupCreate1TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 移動路徑 */ + Move: number; + /** 登場時間 */ + DebutTime: any; + /** 限制數量 */ + Limit: number; + /** 產出方式 */ + Type: number; + /** 權重 */ + Weight: number; + /** 重複產出 */ + Repeat: any; + /** 魚群資料 */ + Fishgroupdata: any; +} + +/** + * #group_create2 + */ +export class GroupCreate2Table extends TableBase {} + +export class GroupCreate2TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 移動路徑 */ + Move: number; + /** 登場時間 */ + DebutTime: any; + /** 限制數量 */ + Limit: number; + /** 產出方式 */ + Type: number; + /** 權重 */ + Weight: number; + /** 重複產出 */ + Repeat: any; + /** 魚群資料 */ + Fishgroupdata: any; +} + +/** + * #group_create3 + */ +export class GroupCreate3Table extends TableBase {} + +export class GroupCreate3TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 移動路徑 */ + Move: number; + /** 登場時間 */ + DebutTime: any; + /** 限制數量 */ + Limit: number; + /** 產出方式 */ + Type: number; + /** 權重 */ + Weight: number; + /** 重複產出 */ + Repeat: any; + /** 魚群資料 */ + Fishgroupdata: any; +} + +/** + * #group_create4 + */ +export class GroupCreate4Table extends TableBase {} + +export class GroupCreate4TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 移動路徑 */ + Move: number; + /** 登場時間 */ + DebutTime: any; + /** 限制數量 */ + Limit: number; + /** 產出方式 */ + Type: number; + /** 權重 */ + Weight: number; + /** 重複產出 */ + Repeat: any; + /** 魚群資料 */ + Fishgroupdata: any; +} + +/** + * #fishpath + */ +export class FishpathTable extends TableBase {} + +export class FishpathTableRow implements ITableRow { + /** 路徑編號 */ + Id: number; + /** 總類 */ + Type: number; + /** 公式 */ + Formula: number; + /** 起始點 */ + Startpos: number; + /** X震幅 */ + Amplitude: number; + /** Y速度 */ + Speed: number; + /** X偏移(小) */ + Offsetmin: number; + /** X偏移(大) */ + Offsetmax: number; + /** 速率 */ + Timespeed: number; + /** 存活時間 */ + Lifetime: number; +} + +/** + * #formula + */ +export class FormulaTable extends TableBase {} + +export class FormulaTableRow implements ITableRow { + /** 公式編號 */ + Id: number; + /** 公式x */ + X: string; + /** 公式y */ + Y: string; +} + +/** + * #bonus + */ +export class BonusTable extends TableBase {} + +export class BonusTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 表演 */ + Show: any; +} + +/** + * #scenes + */ +export class ScenesTable extends TableBase {} + +export class ScenesTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 時間 */ + Time: any; + /** 出現魚種 */ + GroupId: any; +} + +/** + * #tower + */ +export class TowerTable extends TableBase {} + +export class TowerTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 消耗BET */ + Pay: number; + /** 攻擊目標 */ + Target: number; + /** 機率加倍 */ + Power: number; + /** 發射間隔 */ + Time: number; + /** 可打魚種 */ + Group: any; + /** 擴散不能打 */ + NoGroup: any; +} + +/** + * #auto + */ +export class AutoTable extends TableBase {} + +export class AutoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 倍率顯示 */ + AutoString: string; + /** 魚編號 */ + Fish: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁/簡體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} + +/** + * #ai + */ +export class AiTable extends TableBase {} + +export class AiTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 權重 */ + Weight: number; + /** 持續時間(秒) */ + Time: any; + /** 使用BET */ + Bet: any; + /** 砲台 */ + Tower: number; + /** 攻擊目標 */ + Traget: any; + /** 交換權重 */ + SwitchWeight: any; + /** 交換對象 */ + SwitchTraget: any; +} diff --git a/src/script/FormTable/Tables/Fish2004Table.ts b/src/script/FormTable/Tables/Fish2004Table.ts new file mode 100644 index 0000000..042189a --- /dev/null +++ b/src/script/FormTable/Tables/Fish2004Table.ts @@ -0,0 +1,435 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 捕魚機_乖海豹捕魚#fish2004.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Fish2004Table extends TableBase { + private _fixed: FixedTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#fish2004#fixed", FixedTable, FixedTableRow); } + + private _betpage: BetpageTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #betpage */ + public get Betpage(): BetpageTable { return this._betpage = this._betpage || TableManager.InitTable("#fish2004#betpage", BetpageTable, BetpageTableRow); } + + private _fish: FishTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #fish */ + public get Fish(): FishTable { return this._fish = this._fish || TableManager.InitTable("#fish2004#fish", FishTable, FishTableRow); } + + private _special: SpecialTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #special */ + public get Special(): SpecialTable { return this._special = this._special || TableManager.InitTable("#fish2004#special", SpecialTable, SpecialTableRow); } + + private _fishGroup: FishGroupTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #fish_group */ + public get FishGroup(): FishGroupTable { return this._fishGroup = this._fishGroup || TableManager.InitTable("#fish2004#fish_group", FishGroupTable, FishGroupTableRow); } + + private _groupCreate1: GroupCreate1Table; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #group_create1 */ + public get GroupCreate1(): GroupCreate1Table { return this._groupCreate1 = this._groupCreate1 || TableManager.InitTable("#fish2004#group_create1", GroupCreate1Table, GroupCreate1TableRow); } + + private _groupCreate2: GroupCreate2Table; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #group_create2 */ + public get GroupCreate2(): GroupCreate2Table { return this._groupCreate2 = this._groupCreate2 || TableManager.InitTable("#fish2004#group_create2", GroupCreate2Table, GroupCreate2TableRow); } + + private _groupCreate3: GroupCreate3Table; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #group_create3 */ + public get GroupCreate3(): GroupCreate3Table { return this._groupCreate3 = this._groupCreate3 || TableManager.InitTable("#fish2004#group_create3", GroupCreate3Table, GroupCreate3TableRow); } + + private _story1: Story1Table; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #story_1 */ + public get Story1(): Story1Table { return this._story1 = this._story1 || TableManager.InitTable("#fish2004#story_1", Story1Table, Story1TableRow); } + + private _story2: Story2Table; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #story_2 */ + public get Story2(): Story2Table { return this._story2 = this._story2 || TableManager.InitTable("#fish2004#story_2", Story2Table, Story2TableRow); } + + private _story3: Story3Table; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #story_3 */ + public get Story3(): Story3Table { return this._story3 = this._story3 || TableManager.InitTable("#fish2004#story_3", Story3Table, Story3TableRow); } + + private _fishpath: FishpathTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #fishpath */ + public get Fishpath(): FishpathTable { return this._fishpath = this._fishpath || TableManager.InitTable("#fish2004#fishpath", FishpathTable, FishpathTableRow); } + + private _bonus: BonusTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #bonus */ + public get Bonus(): BonusTable { return this._bonus = this._bonus || TableManager.InitTable("#fish2004#bonus", BonusTable, BonusTableRow); } + + private _scenes: ScenesTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #scenes */ + public get Scenes(): ScenesTable { return this._scenes = this._scenes || TableManager.InitTable("#fish2004#scenes", ScenesTable, ScenesTableRow); } + + private _tower: TowerTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #tower */ + public get Tower(): TowerTable { return this._tower = this._tower || TableManager.InitTable("#fish2004#tower", TowerTable, TowerTableRow); } + + private _auto: AutoTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #auto */ + public get Auto(): AutoTable { return this._auto = this._auto || TableManager.InitTable("#fish2004#auto", AutoTable, AutoTableRow); } + + private _sound: SoundTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#fish2004#sound", SoundTable, SoundTableRow); } + + private _ai: AiTable; + /** 捕魚機_乖海豹捕魚#fish2004.xlsx > #ai */ + public get Ai(): AiTable { return this._ai = this._ai || TableManager.InitTable("#fish2004#ai", AiTable, AiTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #betpage + */ +export class BetpageTable extends TableBase {} + +export class BetpageTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 最低金額 */ + Wallet: number; + /** 最小階級 */ + BetrankMini: number; + /** 最大階級 */ + BetrankMax: number; + /** 預設階級 */ + BetrankPreset: number; +} + +/** + * #fish + */ +export class FishTable extends TableBase {} + +export class FishTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 類型 */ + Type: number; + /** 倍率 */ + Pay: any; + /** 死亡 */ + Die: number; + /** 死亡表演 */ + Showtype: number; + /** AI死亡表演 */ + ShowtypeAI: number; +} + +/** + * #special + */ +export class SpecialTable extends TableBase {} + +export class SpecialTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 給分方式 */ + Type: number; + /** 子彈數 */ + Args: number; + /** 倍率 */ + Pay: number; + /** 可秒殺的魚 */ + KillGroup: any; + /** 死亡表演 */ + Showtype: number; +} + +/** + * #fish_group + */ +export class FishGroupTable extends TableBase {} + +export class FishGroupTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 造型 */ + Skin: number; + /** 動作 */ + Move: any; + /** 動作時間 */ + Time: any; + /** 移動時間 */ + MoveTime: any; + /** 尺寸 */ + Size: number; + /** 碰撞盒 */ + Boxsize: any; + /** 類型 */ + Type: number; + /** 對應目標 */ + Targets: any; + /** 機率_權重 */ + Sum: number; + /** 機率 */ + Weights: any; + /** 顯示賠率 */ + Pay: any; + /** 層級 */ + Level: number; +} + +/** + * #group_create1 + */ +export class GroupCreate1Table extends TableBase {} + +export class GroupCreate1TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 移動路徑 */ + Move: number; + /** 登場時間 */ + DebutTime: any; + /** 限制數量 */ + Limit: number; + /** 產出方式 */ + Type: number; + /** 權重 */ + Weight: number; + /** 重複產出 */ + Repeat: any; + /** 魚群資料 */ + Fishgroupdata: any; +} + +/** + * #group_create2 + */ +export class GroupCreate2Table extends TableBase {} + +export class GroupCreate2TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 移動路徑 */ + Move: number; + /** 登場時間 */ + DebutTime: any; + /** 限制數量 */ + Limit: number; + /** 產出方式 */ + Type: number; + /** 權重 */ + Weight: number; + /** 重複產出 */ + Repeat: any; + /** 魚群資料 */ + Fishgroupdata: any; +} + +/** + * #group_create3 + */ +export class GroupCreate3Table extends TableBase {} + +export class GroupCreate3TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 移動路徑 */ + Move: number; + /** 登場時間 */ + DebutTime: any; + /** 限制數量 */ + Limit: number; + /** 產出方式 */ + Type: number; + /** 權重 */ + Weight: number; + /** 重複產出 */ + Repeat: any; + /** 魚群資料 */ + Fishgroupdata: any; +} + +/** + * #story_1 + */ +export class Story1Table extends TableBase {} + +export class Story1TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 時間 */ + Time: number; + /** 出現魚種 */ + GroupId: number; + /** 移動路徑 */ + Move: number; +} + +/** + * #story_2 + */ +export class Story2Table extends TableBase {} + +export class Story2TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 時間 */ + Time: number; + /** 出現魚種 */ + GroupId: number; + /** 移動路徑 */ + Move: number; +} + +/** + * #story_3 + */ +export class Story3Table extends TableBase {} + +export class Story3TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 時間 */ + Time: number; + /** 出現魚種 */ + GroupId: number; + /** 移動路徑 */ + Move: number; +} + +/** + * #fishpath + */ +export class FishpathTable extends TableBase {} + +export class FishpathTableRow implements ITableRow { + /** 路徑編號 */ + Id: number; + /** 總類 */ + Type: number; + /** 路徑 */ + Path: any; + /** X偏移(小) */ + Xoffsetmin: number; + /** X偏移(大) */ + Xoffsetmax: number; + /** Y偏移(小) */ + Yoffsetmin: number; + /** Y偏移(大) */ + Yoffsetmax: number; + /** 速率 */ + Timespeed: number; + /** 存活時間 */ + Lifetime: number; +} + +/** + * #bonus + */ +export class BonusTable extends TableBase {} + +export class BonusTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 表演 */ + Show: any; +} + +/** + * #scenes + */ +export class ScenesTable extends TableBase {} + +export class ScenesTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 時間 */ + Time: any; + /** 出現魚種 */ + GroupId: any; +} + +/** + * #tower + */ +export class TowerTable extends TableBase {} + +export class TowerTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 消耗BET */ + Pay: number; + /** 攻擊目標 */ + Target: number; + /** 機率加倍 */ + Power: number; + /** 發射間隔 */ + Time: number; + /** 可打魚種 */ + Group: any; + /** 擴散不能打 */ + NoGroup: any; +} + +/** + * #auto + */ +export class AutoTable extends TableBase {} + +export class AutoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 倍率顯示 */ + AutoString: string; + /** 魚編號 */ + Fish: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁/簡體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} + +/** + * #ai + */ +export class AiTable extends TableBase {} + +export class AiTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 權重 */ + Weight: number; + /** 持續時間(秒) */ + Time: any; + /** 使用BET */ + Bet: any; + /** 砲台 */ + Tower: number; + /** 攻擊目標 */ + Traget: any; + /** 交換權重 */ + SwitchWeight: any; + /** 交換對象 */ + SwitchTraget: any; +} diff --git a/src/script/FormTable/Tables/FiveTable.ts b/src/script/FormTable/Tables/FiveTable.ts new file mode 100644 index 0000000..aa98e32 --- /dev/null +++ b/src/script/FormTable/Tables/FiveTable.ts @@ -0,0 +1,67 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_五星彩#five.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class FiveTable extends TableBase { + private _fixed: FixedTable; + /** 系統_五星彩#five.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#five#fixed", FixedTable, FixedTableRow); } + + private _award: AwardTable; + /** 系統_五星彩#five.xlsx > #award */ + public get Award(): AwardTable { return this._award = this._award || TableManager.InitTable("#five#award", AwardTable, AwardTableRow); } + + private _string: StringTable; + /** 系統_五星彩#five.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#five#string", StringTable, StringTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + BValue: number; + /** 值 */ + CValue: number; +} + +/** + * #award + */ +export class AwardTable extends TableBase {} + +export class AwardTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + Award1: number; + /** 值 */ + Award2: number; + /** 值 */ + Award3: number; + /** 值 */ + Award4: number; + /** 值 */ + Award5: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 介面字串 */ + MsgZnTw: string; +} diff --git a/src/script/FormTable/Tables/FixedTable.ts b/src/script/FormTable/Tables/FixedTable.ts new file mode 100644 index 0000000..840e554 --- /dev/null +++ b/src/script/FormTable/Tables/FixedTable.ts @@ -0,0 +1,16 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 共用_數值表#fixed.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + Value: number; +} diff --git a/src/script/FormTable/Tables/FormreadTable.ts b/src/script/FormTable/Tables/FormreadTable.ts new file mode 100644 index 0000000..8e7c035 --- /dev/null +++ b/src/script/FormTable/Tables/FormreadTable.ts @@ -0,0 +1,51 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_表單讀取#formread.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class FormreadTable extends TableBase { + private _setting: SettingTable; + /** 系統_表單讀取#formread.xlsx > #setting */ + public get Setting(): SettingTable { return this._setting = this._setting || TableManager.InitTable("#formread#setting", SettingTable, SettingTableRow); } + + private _txt: TxtTable; + /** 系統_表單讀取#formread.xlsx > #txt */ + public get Txt(): TxtTable { return this._txt = this._txt || TableManager.InitTable("#formread#txt", TxtTable, TxtTableRow); } +} + +export class FormreadTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 表單名稱 */ + Form: string; +} + +/** + * #setting + */ +export class SettingTable extends TableBase {} + +export class SettingTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 後台網域 */ + Form: string; + Router: string; +} + +/** + * #txt + */ +export class TxtTable extends TableBase {} + +export class TxtTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 表單名稱 */ + Form: string; + /** 版號 */ + Version: number; +} diff --git a/src/script/FormTable/Tables/GiftTable.ts b/src/script/FormTable/Tables/GiftTable.ts new file mode 100644 index 0000000..e1566d5 --- /dev/null +++ b/src/script/FormTable/Tables/GiftTable.ts @@ -0,0 +1,67 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_贈禮#gift.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class GiftTable extends TableBase { + private _fixed: FixedTable; + /** 系統_贈禮#gift.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#gift#fixed", FixedTable, FixedTableRow); } + + private _quantity: QuantityTable; + /** 系統_贈禮#gift.xlsx > #quantity */ + public get Quantity(): QuantityTable { return this._quantity = this._quantity || TableManager.InitTable("#gift#quantity", QuantityTable, QuantityTableRow); } + + private _string: StringTable; + /** 系統_贈禮#gift.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#gift#string", StringTable, StringTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 參數 */ + Value: number; +} + +/** + * #quantity + */ +export class QuantityTable extends TableBase {} + +export class QuantityTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 活躍度 */ + Activity: number; + /** 單日送禮次數限制 */ + Limit: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} diff --git a/src/script/FormTable/Tables/HeadTable.ts b/src/script/FormTable/Tables/HeadTable.ts new file mode 100644 index 0000000..c8d03a7 --- /dev/null +++ b/src/script/FormTable/Tables/HeadTable.ts @@ -0,0 +1,20 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_頭像#head.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class HeadTable extends TableBase {} + +export class HeadTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 頭像名稱 */ + Name: string; + /** 玩家使用 */ + Use: number; + /** 版號 */ + Version: number; +} diff --git a/src/script/FormTable/Tables/ItemSettingTable.ts b/src/script/FormTable/Tables/ItemSettingTable.ts new file mode 100644 index 0000000..6962ceb --- /dev/null +++ b/src/script/FormTable/Tables/ItemSettingTable.ts @@ -0,0 +1,105 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_道具設定#item_setting.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class ItemSettingTable extends TableBase { + private _card1Setting: Card1SettingTable; + /** 系統_道具設定#item_setting.xlsx > #card1_setting */ + public get Card1Setting(): Card1SettingTable { return this._card1Setting = this._card1Setting || TableManager.InitTable("#item_setting#card1_setting", Card1SettingTable, Card1SettingTableRow); } + + private _chipSetting: ChipSettingTable; + /** 系統_道具設定#item_setting.xlsx > #chip_setting */ + public get ChipSetting(): ChipSettingTable { return this._chipSetting = this._chipSetting || TableManager.InitTable("#item_setting#chip_setting", ChipSettingTable, ChipSettingTableRow); } + + private _bingoSetting: BingoSettingTable; + /** 系統_道具設定#item_setting.xlsx > #bingo_setting */ + public get BingoSetting(): BingoSettingTable { return this._bingoSetting = this._bingoSetting || TableManager.InitTable("#item_setting#bingo_setting", BingoSettingTable, BingoSettingTableRow); } + + private _fiveSetting: FiveSettingTable; + /** 系統_道具設定#item_setting.xlsx > #five_setting */ + public get FiveSetting(): FiveSettingTable { return this._fiveSetting = this._fiveSetting || TableManager.InitTable("#item_setting#five_setting", FiveSettingTable, FiveSettingTableRow); } + + private _stringItem: StringItemTable; + /** 系統_道具設定#item_setting.xlsx > #string_item */ + public get StringItem(): StringItemTable { return this._stringItem = this._stringItem || TableManager.InitTable("#item_setting#string_item", StringItemTable, StringItemTableRow); } +} + +/** + * #card1_setting + */ +export class Card1SettingTable extends TableBase {} + +export class Card1SettingTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 機台 */ + Slot: number; + /** 顏色 */ + Rank: number; + /** 星數 */ + Star: number; + /** 廳館 */ + Lobby: number; + /** 押注 */ + Bet: number; + /** 押注 */ + Betrank: number; + /** 卡片說明 */ + CardString: number; +} + +/** + * #chip_setting + */ +export class ChipSettingTable extends TableBase {} + +export class ChipSettingTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 機台 */ + Slot: number; + /** 廳館 */ + Lobby: number; + /** 部位 */ + Number: number; +} + +/** + * #bingo_setting + */ +export class BingoSettingTable extends TableBase {} + +export class BingoSettingTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 顏色 */ + Rank: number; +} + +/** + * #five_setting + */ +export class FiveSettingTable extends TableBase {} + +export class FiveSettingTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 顏色 */ + Rank: number; +} + +/** + * #string_item + */ +export class StringItemTable extends TableBase {} + +export class StringItemTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 繁體中文訊息 */ + MsgZnTw: string; +} diff --git a/src/script/FormTable/Tables/ItemdropTable.ts b/src/script/FormTable/Tables/ItemdropTable.ts new file mode 100644 index 0000000..73da682 --- /dev/null +++ b/src/script/FormTable/Tables/ItemdropTable.ts @@ -0,0 +1,83 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_道具掉落表#itemdrop.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class ItemdropTable extends TableBase { + private _fixed: FixedTable; + /** 系統_道具掉落表#itemdrop.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#itemdrop#fixed", FixedTable, FixedTableRow); } + + private _dropCard: DropCardTable; + /** 系統_道具掉落表#itemdrop.xlsx > #drop_card */ + public get DropCard(): DropCardTable { return this._dropCard = this._dropCard || TableManager.InitTable("#itemdrop#drop_card", DropCardTable, DropCardTableRow); } + + private _dropChip: DropChipTable; + /** 系統_道具掉落表#itemdrop.xlsx > #drop_chip */ + public get DropChip(): DropChipTable { return this._dropChip = this._dropChip || TableManager.InitTable("#itemdrop#drop_chip", DropChipTable, DropChipTableRow); } + + private _dropBingo: DropBingoTable; + /** 系統_道具掉落表#itemdrop.xlsx > #drop_bingo */ + public get DropBingo(): DropBingoTable { return this._dropBingo = this._dropBingo || TableManager.InitTable("#itemdrop#drop_bingo", DropBingoTable, DropBingoTableRow); } + + private _dropFive: DropFiveTable; + /** 系統_道具掉落表#itemdrop.xlsx > #drop_five */ + public get DropFive(): DropFiveTable { return this._dropFive = this._dropFive || TableManager.InitTable("#itemdrop#drop_five", DropFiveTable, DropFiveTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + BValue: number; + /** 值 */ + CValue: number; +} + +/** + * #drop_card + */ +export class DropCardTable extends TableBase {} + +export class DropCardTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #drop_chip + */ +export class DropChipTable extends TableBase {} + +export class DropChipTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #drop_bingo + */ +export class DropBingoTable extends TableBase {} + +export class DropBingoTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #drop_five + */ +export class DropFiveTable extends TableBase {} + +export class DropFiveTableRow implements ITableRow { + /** 編號 */ + Id: number; +} diff --git a/src/script/FormTable/Tables/ItemmoneyTable.ts b/src/script/FormTable/Tables/ItemmoneyTable.ts new file mode 100644 index 0000000..eb0a2c4 --- /dev/null +++ b/src/script/FormTable/Tables/ItemmoneyTable.ts @@ -0,0 +1,31 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_道具價錢表#itemmoney.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class ItemmoneyTable extends TableBase { + private _chip: ChipTable; + /** 系統_道具價錢表#itemmoney.xlsx > #chip */ + public get Chip(): ChipTable { return this._chip = this._chip || TableManager.InitTable("#itemmoney#chip", ChipTable, ChipTableRow); } +} + +/** + * #chip + */ +export class ChipTable extends TableBase {} + +export class ChipTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 體驗 */ + Sale1: number; + /** 一般 */ + Sale2: number; + /** 高手 */ + Sale3: number; + /** 至尊 */ + Sale4: number; +} diff --git a/src/script/FormTable/Tables/LanguageTable.ts b/src/script/FormTable/Tables/LanguageTable.ts new file mode 100644 index 0000000..6fd5322 --- /dev/null +++ b/src/script/FormTable/Tables/LanguageTable.ts @@ -0,0 +1,35 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 共用_語系表#language.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class LanguageTable extends TableBase { + private _lanuage: LanuageTable; + /** 共用_語系表#language.xlsx > #lanuage */ + public get Lanuage(): LanuageTable { return this._lanuage = this._lanuage || TableManager.InitTable("#language#lanuage", LanuageTable, LanuageTableRow); } +} + +/** + * #lanuage + */ +export class LanuageTable extends TableBase {} + +export class LanuageTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 名稱 */ + Name: string; + /** 代碼 */ + Type: string; + /** 對應字串表欄位 */ + Msg: string; + /** 對應語言包檔名 */ + Path: string; + /** 對應音效欄位 */ + SoundPath: string; + /** 是否顯示在設定 */ + App: number; +} diff --git a/src/script/FormTable/Tables/LevelTable.ts b/src/script/FormTable/Tables/LevelTable.ts new file mode 100644 index 0000000..0b1e259 --- /dev/null +++ b/src/script/FormTable/Tables/LevelTable.ts @@ -0,0 +1,48 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_等級表#level.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class LevelTable extends TableBase { + private _fixed: FixedTable; + /** 系統_等級表#level.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#level#fixed", FixedTable, FixedTableRow); } + + private _levelSlot: LevelSlotTable; + /** 系統_等級表#level.xlsx > #level_slot */ + public get LevelSlot(): LevelSlotTable { return this._levelSlot = this._levelSlot || TableManager.InitTable("#level#level_slot", LevelSlotTable, LevelSlotTableRow); } +} + +export class LevelTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 經驗 */ + Exp: number; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 參數 */ + Value: number; +} + +/** + * #level_slot + */ +export class LevelSlotTable extends TableBase {} + +export class LevelSlotTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 經驗獲取 */ + Levelup: number; +} diff --git a/src/script/FormTable/Tables/LineTable.ts b/src/script/FormTable/Tables/LineTable.ts new file mode 100644 index 0000000..eaa5979 --- /dev/null +++ b/src/script/FormTable/Tables/LineTable.ts @@ -0,0 +1,89 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 共用_走線表#line.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class LineTable extends TableBase { + private _line4x5: Line4x5Table; + /** 共用_走線表#line.xlsx > #line4x5 */ + public get Line4x5(): Line4x5Table { return this._line4x5 = this._line4x5 || TableManager.InitTable("#line#line4x5", Line4x5Table, Line4x5TableRow); } + + private _line3x5: Line3x5Table; + /** 共用_走線表#line.xlsx > #line3x5 */ + public get Line3x5(): Line3x5Table { return this._line3x5 = this._line3x5 || TableManager.InitTable("#line#line3x5", Line3x5Table, Line3x5TableRow); } + + private _line5x5: Line5x5Table; + /** 共用_走線表#line.xlsx > #line5x5 */ + public get Line5x5(): Line5x5Table { return this._line5x5 = this._line5x5 || TableManager.InitTable("#line#line5x5", Line5x5Table, Line5x5TableRow); } + + private _line7x6: Line7x6Table; + /** 共用_走線表#line.xlsx > #line7x6 */ + public get Line7x6(): Line7x6Table { return this._line7x6 = this._line7x6 || TableManager.InitTable("#line#line7x6", Line7x6Table, Line7x6TableRow); } + + private _line3x3: Line3x3Table; + /** 共用_走線表#line.xlsx > #line3x3 */ + public get Line3x3(): Line3x3Table { return this._line3x3 = this._line3x3 || TableManager.InitTable("#line#line3x3", Line3x3Table, Line3x3TableRow); } +} + +/** + * #line4x5 + */ +export class Line4x5Table extends TableBase {} + +export class Line4x5TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 格子 */ + Grid: any; +} + +/** + * #line3x5 + */ +export class Line3x5Table extends TableBase {} + +export class Line3x5TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 格子 */ + Grid: any; +} + +/** + * #line5x5 + */ +export class Line5x5Table extends TableBase {} + +export class Line5x5TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 格子 */ + Grid: any; +} + +/** + * #line7x6 + */ +export class Line7x6Table extends TableBase {} + +export class Line7x6TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 格子 */ + Grid: any; +} + +/** + * #line3x3 + */ +export class Line3x3Table extends TableBase {} + +export class Line3x3TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 格子 */ + Grid: any; +} diff --git a/src/script/FormTable/Tables/LobbyTable.ts b/src/script/FormTable/Tables/LobbyTable.ts new file mode 100644 index 0000000..e6e4f28 --- /dev/null +++ b/src/script/FormTable/Tables/LobbyTable.ts @@ -0,0 +1,81 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_機台分桌#lobby.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class LobbyTable extends TableBase { + private _fixed: FixedTable; + /** 系統_機台分桌#lobby.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#lobby#fixed", FixedTable, FixedTableRow); } + + private _slot: SlotTable; + /** 系統_機台分桌#lobby.xlsx > #slot */ + public get Slot(): SlotTable { return this._slot = this._slot || TableManager.InitTable("#lobby#slot", SlotTable, SlotTableRow); } + + private _string: StringTable; + /** 系統_機台分桌#lobby.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#lobby#string", StringTable, StringTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 比值 */ + Money: number; + /** 桌 */ + Table: number; + /** 大獎1 */ + Bigwin1: number; + /** 大獎2 */ + Bigwin2: number; + /** 大獎3 */ + Bigwin3: number; + /** 大獎4 */ + Bigwin4: number; +} + +/** + * #slot + */ +export class SlotTable extends TableBase {} + +export class SlotTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 分廳 */ + Lobby: number; + /** 分桌 */ + Table: number; + /** 類型 */ + Type: number; + /** 免費遊戲 */ + Freegame: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} diff --git a/src/script/FormTable/Tables/MailTable.ts b/src/script/FormTable/Tables/MailTable.ts new file mode 100644 index 0000000..2403eea --- /dev/null +++ b/src/script/FormTable/Tables/MailTable.ts @@ -0,0 +1,29 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_信件#mail.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class MailTable extends TableBase { + private _stringMail: StringMailTable; + /** 系統_信件#mail.xlsx > #string_mail */ + public get StringMail(): StringMailTable { return this._stringMail = this._stringMail || TableManager.InitTable("#mail#string_mail", StringMailTable, StringMailTableRow); } +} + +/** + * #string_mail + */ +export class StringMailTable extends TableBase {} + +export class StringMailTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; + /** 英文訊息 */ + MsgEn: string; +} diff --git a/src/script/FormTable/Tables/MonkeytowerTable.ts b/src/script/FormTable/Tables/MonkeytowerTable.ts new file mode 100644 index 0000000..7f63fe4 --- /dev/null +++ b/src/script/FormTable/Tables/MonkeytowerTable.ts @@ -0,0 +1,619 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 捕魚機_西遊塔防#monkeytower.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class MonkeytowerTable extends TableBase { + private _fixed: FixedTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#monkeytower#fixed", FixedTable, FixedTableRow); } + + private _betpage: BetpageTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #betpage */ + public get Betpage(): BetpageTable { return this._betpage = this._betpage || TableManager.InitTable("#monkeytower#betpage", BetpageTable, BetpageTableRow); } + + private _sound: SoundTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#monkeytower#sound", SoundTable, SoundTableRow); } + + private _item: ItemTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #item */ + public get Item(): ItemTable { return this._item = this._item || TableManager.InitTable("#monkeytower#item", ItemTable, ItemTableRow); } + + private _fishType: FishTypeTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #fish_type */ + public get FishType(): FishTypeTable { return this._fishType = this._fishType || TableManager.InitTable("#monkeytower#fish_type", FishTypeTable, FishTypeTableRow); } + + private _fish: FishTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #fish */ + public get Fish(): FishTable { return this._fish = this._fish || TableManager.InitTable("#monkeytower#fish", FishTable, FishTableRow); } + + private _fishFantasy: FishFantasyTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #fish_fantasy */ + public get FishFantasy(): FishFantasyTable { return this._fishFantasy = this._fishFantasy || TableManager.InitTable("#monkeytower#fish_fantasy", FishFantasyTable, FishFantasyTableRow); } + + private _tower: TowerTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #tower */ + public get Tower(): TowerTable { return this._tower = this._tower || TableManager.InitTable("#monkeytower#tower", TowerTable, TowerTableRow); } + + private _skill: SkillTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #skill */ + public get Skill(): SkillTable { return this._skill = this._skill || TableManager.InitTable("#monkeytower#skill", SkillTable, SkillTableRow); } + + private _mission: MissionTable; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #mission */ + public get Mission(): MissionTable { return this._mission = this._mission || TableManager.InitTable("#monkeytower#mission", MissionTable, MissionTableRow); } + + private _script11: Script11Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_11 */ + public get Script11(): Script11Table { return this._script11 = this._script11 || TableManager.InitTable("#monkeytower#script_11", Script11Table, Script11TableRow); } + + private _script12: Script12Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_12 */ + public get Script12(): Script12Table { return this._script12 = this._script12 || TableManager.InitTable("#monkeytower#script_12", Script12Table, Script12TableRow); } + + private _script13: Script13Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_13 */ + public get Script13(): Script13Table { return this._script13 = this._script13 || TableManager.InitTable("#monkeytower#script_13", Script13Table, Script13TableRow); } + + private _script14: Script14Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_14 */ + public get Script14(): Script14Table { return this._script14 = this._script14 || TableManager.InitTable("#monkeytower#script_14", Script14Table, Script14TableRow); } + + private _script15: Script15Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_15 */ + public get Script15(): Script15Table { return this._script15 = this._script15 || TableManager.InitTable("#monkeytower#script_15", Script15Table, Script15TableRow); } + + private _script21: Script21Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_21 */ + public get Script21(): Script21Table { return this._script21 = this._script21 || TableManager.InitTable("#monkeytower#script_21", Script21Table, Script21TableRow); } + + private _script22: Script22Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_22 */ + public get Script22(): Script22Table { return this._script22 = this._script22 || TableManager.InitTable("#monkeytower#script_22", Script22Table, Script22TableRow); } + + private _script23: Script23Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_23 */ + public get Script23(): Script23Table { return this._script23 = this._script23 || TableManager.InitTable("#monkeytower#script_23", Script23Table, Script23TableRow); } + + private _script24: Script24Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_24 */ + public get Script24(): Script24Table { return this._script24 = this._script24 || TableManager.InitTable("#monkeytower#script_24", Script24Table, Script24TableRow); } + + private _script25: Script25Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_25 */ + public get Script25(): Script25Table { return this._script25 = this._script25 || TableManager.InitTable("#monkeytower#script_25", Script25Table, Script25TableRow); } + + private _script31: Script31Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_31 */ + public get Script31(): Script31Table { return this._script31 = this._script31 || TableManager.InitTable("#monkeytower#script_31", Script31Table, Script31TableRow); } + + private _script32: Script32Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_32 */ + public get Script32(): Script32Table { return this._script32 = this._script32 || TableManager.InitTable("#monkeytower#script_32", Script32Table, Script32TableRow); } + + private _script33: Script33Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_33 */ + public get Script33(): Script33Table { return this._script33 = this._script33 || TableManager.InitTable("#monkeytower#script_33", Script33Table, Script33TableRow); } + + private _script34: Script34Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_34 */ + public get Script34(): Script34Table { return this._script34 = this._script34 || TableManager.InitTable("#monkeytower#script_34", Script34Table, Script34TableRow); } + + private _script35: Script35Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #script_35 */ + public get Script35(): Script35Table { return this._script35 = this._script35 || TableManager.InitTable("#monkeytower#script_35", Script35Table, Script35TableRow); } + + private _set1: Set1Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #set_1 */ + public get Set1(): Set1Table { return this._set1 = this._set1 || TableManager.InitTable("#monkeytower#set_1", Set1Table, Set1TableRow); } + + private _building1: Building1Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #building_1 */ + public get Building1(): Building1Table { return this._building1 = this._building1 || TableManager.InitTable("#monkeytower#building_1", Building1Table, Building1TableRow); } + + private _corner1: Corner1Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #corner_1 */ + public get Corner1(): Corner1Table { return this._corner1 = this._corner1 || TableManager.InitTable("#monkeytower#corner_1", Corner1Table, Corner1TableRow); } + + private _set2: Set2Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #set_2 */ + public get Set2(): Set2Table { return this._set2 = this._set2 || TableManager.InitTable("#monkeytower#set_2", Set2Table, Set2TableRow); } + + private _building2: Building2Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #building_2 */ + public get Building2(): Building2Table { return this._building2 = this._building2 || TableManager.InitTable("#monkeytower#building_2", Building2Table, Building2TableRow); } + + private _corner2: Corner2Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #corner_2 */ + public get Corner2(): Corner2Table { return this._corner2 = this._corner2 || TableManager.InitTable("#monkeytower#corner_2", Corner2Table, Corner2TableRow); } + + private _set3: Set3Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #set_3 */ + public get Set3(): Set3Table { return this._set3 = this._set3 || TableManager.InitTable("#monkeytower#set_3", Set3Table, Set3TableRow); } + + private _building3: Building3Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #building_3 */ + public get Building3(): Building3Table { return this._building3 = this._building3 || TableManager.InitTable("#monkeytower#building_3", Building3Table, Building3TableRow); } + + private _corner3: Corner3Table; + /** 捕魚機_西遊塔防#monkeytower.xlsx > #corner_3 */ + public get Corner3(): Corner3Table { return this._corner3 = this._corner3 || TableManager.InitTable("#monkeytower#corner_3", Corner3Table, Corner3TableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #betpage + */ +export class BetpageTable extends TableBase {} + +export class BetpageTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 最低金額 */ + Wallet: number; + /** 最小階級 */ + BetrankMini: number; + /** 最大階級 */ + BetrankMax: number; + /** 預設階級 */ + BetrankPreset: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁/簡體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} + +/** + * #item + */ +export class ItemTable extends TableBase {} + +export class ItemTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 保存上限 */ + QuantityLimit: number; + /** 參數1 */ + Args1: number; +} + +/** + * #fish_type + */ +export class FishTypeTable extends TableBase {} + +export class FishTypeTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 怪物 */ + FishId: any; +} + +/** + * #fish + */ +export class FishTable extends TableBase {} + +export class FishTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率優先度 */ + PayPriority: number; + /** 血量 */ + Hp: number; + /** 攻擊力 */ + Attack: number; + /** 速度 */ + Speed: number; + /** 停頓間隔 */ + StopInterval: number; + /** 停頓時間 */ + StopTime: number; + /** 回頭 */ + Back: number; + /** 紀錄血量 */ + HpSave: number; + /** 體積 */ + Size: number; + /** 造型 */ + SameId: number; +} + +/** + * #fish_fantasy + */ +export class FishFantasyTable extends TableBase {} + +export class FishFantasyTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #tower + */ +export class TowerTable extends TableBase {} + +export class TowerTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 攻擊類型 */ + AttackType1: number; + /** 攻擊速度 */ + AttackSpeed1: number; + /** 攻擊目標 */ + AttackAims1: number; + /** 攻擊距離 */ + AttackRange1: number; + /** 參數1 */ + AttackArgs11: number; + /** 攻擊類型 */ + AttackType2: number; + /** 攻擊速度 */ + AttackSpeed2: number; + /** 攻擊目標 */ + AttackAims2: number; + /** 攻擊距離 */ + AttackRange2: number; + /** 參數1 */ + AttackArgs21: number; +} + +/** + * #skill + */ +export class SkillTable extends TableBase {} + +export class SkillTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 子彈數 */ + Hit: number; +} + +/** + * #mission + */ +export class MissionTable extends TableBase {} + +export class MissionTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 劇本 */ + Script: any; + /** 劇本 */ + ScriptWave: any; + /** BOSS登場 */ + BossWave: any; + /** 地點座標 */ + Set: number; + /** 塔座標 */ + Building: number; + /** 轉角座標 */ + Corner: number; + /** BOSS */ + Boss: number; +} + +/** + * #script_11 + */ +export class Script11Table extends TableBase {} + +export class Script11TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_12 + */ +export class Script12Table extends TableBase {} + +export class Script12TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_13 + */ +export class Script13Table extends TableBase {} + +export class Script13TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_14 + */ +export class Script14Table extends TableBase {} + +export class Script14TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_15 + */ +export class Script15Table extends TableBase {} + +export class Script15TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_21 + */ +export class Script21Table extends TableBase {} + +export class Script21TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_22 + */ +export class Script22Table extends TableBase {} + +export class Script22TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_23 + */ +export class Script23Table extends TableBase {} + +export class Script23TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_24 + */ +export class Script24Table extends TableBase {} + +export class Script24TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_25 + */ +export class Script25Table extends TableBase {} + +export class Script25TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_31 + */ +export class Script31Table extends TableBase {} + +export class Script31TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_32 + */ +export class Script32Table extends TableBase {} + +export class Script32TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_33 + */ +export class Script33Table extends TableBase {} + +export class Script33TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_34 + */ +export class Script34Table extends TableBase {} + +export class Script34TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #script_35 + */ +export class Script35Table extends TableBase {} + +export class Script35TableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #set_1 + */ +export class Set1Table extends TableBase {} + +export class Set1TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** x座標 */ + CoordinateX: number; + /** y座標 */ + CoordinateY: number; +} + +/** + * #building_1 + */ +export class Building1Table extends TableBase {} + +export class Building1TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 類型 */ + Type: number; + /** x座標 */ + CoordinateX: number; + /** y座標 */ + CoordinateY: number; +} + +/** + * #corner_1 + */ +export class Corner1Table extends TableBase {} + +export class Corner1TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** x座標 */ + CoordinateX: number; + /** y座標 */ + CoordinateY: number; + /** x移動 */ + MovingX: number; + /** y移動 */ + MovingY: number; +} + +/** + * #set_2 + */ +export class Set2Table extends TableBase {} + +export class Set2TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** x座標 */ + CoordinateX: number; + /** y座標 */ + CoordinateY: number; +} + +/** + * #building_2 + */ +export class Building2Table extends TableBase {} + +export class Building2TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 類型 */ + Type: number; + /** x座標 */ + CoordinateX: number; + /** y座標 */ + CoordinateY: number; +} + +/** + * #corner_2 + */ +export class Corner2Table extends TableBase {} + +export class Corner2TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** x座標 */ + CoordinateX: number; + /** y座標 */ + CoordinateY: number; + /** x移動 */ + MovingX: number; + /** y移動 */ + MovingY: number; +} + +/** + * #set_3 + */ +export class Set3Table extends TableBase {} + +export class Set3TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** x座標 */ + CoordinateX: number; + /** y座標 */ + CoordinateY: number; +} + +/** + * #building_3 + */ +export class Building3Table extends TableBase {} + +export class Building3TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 類型 */ + Type: number; + /** x座標 */ + CoordinateX: number; + /** y座標 */ + CoordinateY: number; +} + +/** + * #corner_3 + */ +export class Corner3Table extends TableBase {} + +export class Corner3TableRow implements ITableRow { + /** 編號 */ + Id: number; + /** x座標 */ + CoordinateX: number; + /** y座標 */ + CoordinateY: number; + /** x移動 */ + MovingX: number; + /** y移動 */ + MovingY: number; +} diff --git a/src/script/FormTable/Tables/NameTable.ts b/src/script/FormTable/Tables/NameTable.ts new file mode 100644 index 0000000..01025dd --- /dev/null +++ b/src/script/FormTable/Tables/NameTable.ts @@ -0,0 +1,25 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_暱稱#name.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class NameTable extends TableBase { + private _banstring: BanstringTable; + /** 系統_暱稱#name.xlsx > #banstring */ + public get Banstring(): BanstringTable { return this._banstring = this._banstring || TableManager.InitTable("#name#banstring", BanstringTable, BanstringTableRow); } +} + +/** + * #banstring + */ +export class BanstringTable extends TableBase {} + +export class BanstringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 禁字 */ + Word: string; +} diff --git a/src/script/FormTable/Tables/NetworkTable.ts b/src/script/FormTable/Tables/NetworkTable.ts new file mode 100644 index 0000000..7a5b050 --- /dev/null +++ b/src/script/FormTable/Tables/NetworkTable.ts @@ -0,0 +1,81 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_跑馬燈#network.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class NetworkTable extends TableBase { + private _fixed: FixedTable; + /** 系統_跑馬燈#network.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#network#fixed", FixedTable, FixedTableRow); } + + private _string: StringTable; + /** 系統_跑馬燈#network.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#network#string", StringTable, StringTableRow); } + + private _condition: ConditionTable; + /** 系統_跑馬燈#network.xlsx > #condition */ + public get Condition(): ConditionTable { return this._condition = this._condition || TableManager.InitTable("#network#condition", ConditionTable, ConditionTableRow); } + + private _priority: PriorityTable; + /** 系統_跑馬燈#network.xlsx > #priority */ + public get Priority(): PriorityTable { return this._priority = this._priority || TableManager.InitTable("#network#priority", PriorityTable, PriorityTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + CValue: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #condition + */ +export class ConditionTable extends TableBase {} + +export class ConditionTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #priority + */ +export class PriorityTable extends TableBase {} + +export class PriorityTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 後端廣播ID */ + ConditionId: number; + /** 繁體中文訊息 */ + MsgZnTw: string; +} diff --git a/src/script/FormTable/Tables/NineSicboTable.ts b/src/script/FormTable/Tables/NineSicboTable.ts new file mode 100644 index 0000000..498bd97 --- /dev/null +++ b/src/script/FormTable/Tables/NineSicboTable.ts @@ -0,0 +1,139 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 遊藝館_九龍骰寶#nine_sicbo.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class NineSicboTable extends TableBase { + private _bet: BetTable; + /** 遊藝館_九龍骰寶#nine_sicbo.xlsx > #bet */ + public get Bet(): BetTable { return this._bet = this._bet || TableManager.InitTable("#nine_sicbo#bet", BetTable, BetTableRow); } + + private _fixed: FixedTable; + /** 遊藝館_九龍骰寶#nine_sicbo.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#nine_sicbo#fixed", FixedTable, FixedTableRow); } + + private _paytable: PaytableTable; + /** 遊藝館_九龍骰寶#nine_sicbo.xlsx > #paytable */ + public get Paytable(): PaytableTable { return this._paytable = this._paytable || TableManager.InitTable("#nine_sicbo#paytable", PaytableTable, PaytableTableRow); } + + private _string: StringTable; + /** 遊藝館_九龍骰寶#nine_sicbo.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#nine_sicbo#string", StringTable, StringTableRow); } + + private _sound: SoundTable; + /** 遊藝館_九龍骰寶#nine_sicbo.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#nine_sicbo#sound", SoundTable, SoundTableRow); } +} + +/** + * #bet + */ +export class BetTable extends TableBase {} + +export class BetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 顯示 */ + Show: any; + /** 大小 */ + Type1: any; + /** 骰子1~6 */ + Type2: any; + /** 全圍骰 */ + Type3: any; + /** 圍骰1~6 */ + Type4: any; + /** 點數4 */ + Type5: any; + /** 點數5 */ + Type6: any; + /** 點數6 */ + Type7: any; + /** 點數7 */ + Type8: any; + /** 點數8 */ + Type9: any; + /** 點數9 */ + Type10: any; + /** 點數10 */ + Type11: any; + /** 點數11 */ + Type12: any; + /** 點數12 */ + Type13: any; + /** 點數13 */ + Type14: any; + /** 點數14 */ + Type15: any; + /** 點數15 */ + Type16: any; + /** 點數16 */ + Type17: any; + /** 點數17 */ + Type18: any; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + Value: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #paytable + */ +export class PaytableTable extends TableBase {} + +export class PaytableTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + PayNormal: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文訊息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} diff --git a/src/script/FormTable/Tables/NormalBaccaratTable.ts b/src/script/FormTable/Tables/NormalBaccaratTable.ts new file mode 100644 index 0000000..923ed8e --- /dev/null +++ b/src/script/FormTable/Tables/NormalBaccaratTable.ts @@ -0,0 +1,149 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 遊藝館_傳統百家樂#normal_baccarat.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class NormalBaccaratTable extends TableBase { + private _bet: BetTable; + /** 遊藝館_傳統百家樂#normal_baccarat.xlsx > #bet */ + public get Bet(): BetTable { return this._bet = this._bet || TableManager.InitTable("#normal_baccarat#bet", BetTable, BetTableRow); } + + private _fixed: FixedTable; + /** 遊藝館_傳統百家樂#normal_baccarat.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#normal_baccarat#fixed", FixedTable, FixedTableRow); } + + private _drawRule: DrawRuleTable; + /** 遊藝館_傳統百家樂#normal_baccarat.xlsx > #draw_rule */ + public get DrawRule(): DrawRuleTable { return this._drawRule = this._drawRule || TableManager.InitTable("#normal_baccarat#draw_rule", DrawRuleTable, DrawRuleTableRow); } + + private _paytable: PaytableTable; + /** 遊藝館_傳統百家樂#normal_baccarat.xlsx > #paytable */ + public get Paytable(): PaytableTable { return this._paytable = this._paytable || TableManager.InitTable("#normal_baccarat#paytable", PaytableTable, PaytableTableRow); } + + private _string: StringTable; + /** 遊藝館_傳統百家樂#normal_baccarat.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#normal_baccarat#string", StringTable, StringTableRow); } + + private _sound: SoundTable; + /** 遊藝館_傳統百家樂#normal_baccarat.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#normal_baccarat#sound", SoundTable, SoundTableRow); } +} + +/** + * #bet + */ +export class BetTable extends TableBase {} + +export class BetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 顯示 */ + Show: any; + /** 莊 */ + Type1: any; + /** 閒 */ + Type2: any; + /** 和 */ + Type3: any; + /** 莊對 */ + Type4: any; + /** 閒對 */ + Type5: any; + /** 三寶 */ + Type6: any; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #draw_rule + */ +export class DrawRuleTable extends TableBase {} + +export class DrawRuleTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 是否搏牌 */ + P0: number; + /** 是否搏牌 */ + P1: number; + /** 是否搏牌 */ + P2: number; + /** 是否搏牌 */ + P3: number; + /** 是否搏牌 */ + P4: number; + /** 是否搏牌 */ + P5: number; + /** 是否搏牌 */ + P6: number; + /** 是否搏牌 */ + P7: number; + /** 是否搏牌 */ + P8: number; + /** 是否搏牌 */ + P9: number; +} + +/** + * #paytable + */ +export class PaytableTable extends TableBase {} + +export class PaytableTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + PayNormal: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文訊息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} diff --git a/src/script/FormTable/Tables/OperationTable.ts b/src/script/FormTable/Tables/OperationTable.ts new file mode 100644 index 0000000..9d4e498 --- /dev/null +++ b/src/script/FormTable/Tables/OperationTable.ts @@ -0,0 +1,67 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_營運活動#operation.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class OperationTable extends TableBase { + private _time: TimeTable; + /** 系統_營運活動#operation.xlsx > #time */ + public get Time(): TimeTable { return this._time = this._time || TableManager.InitTable("#operation#time", TimeTable, TimeTableRow); } + + private _fixed: FixedTable; + /** 系統_營運活動#operation.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#operation#fixed", FixedTable, FixedTableRow); } + + private _string: StringTable; + /** 系統_營運活動#operation.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#operation#string", StringTable, StringTableRow); } +} + +/** + * #time + */ +export class TimeTable extends TableBase {} + +export class TimeTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 開始時間 */ + Timestart: string; + /** 結束時間 */ + Timeend: string; + /** 刷新時間 */ + Restard: string; + /** 結算時間 */ + Settlement: string; + /** 活動編號 */ + Activity: number; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 繁體中文訊息 */ + MsgZnTw: string; +} diff --git a/src/script/FormTable/Tables/PacketTable.ts b/src/script/FormTable/Tables/PacketTable.ts new file mode 100644 index 0000000..6a2c52b --- /dev/null +++ b/src/script/FormTable/Tables/PacketTable.ts @@ -0,0 +1,77 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_背包#packet.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class PacketTable extends TableBase { + private _select: SelectTable; + /** 系統_背包#packet.xlsx > #select */ + public get Select(): SelectTable { return this._select = this._select || TableManager.InitTable("#packet#select", SelectTable, SelectTableRow); } + + private _type: TypeTable; + /** 系統_背包#packet.xlsx > #type */ + public get Type(): TypeTable { return this._type = this._type || TableManager.InitTable("#packet#type", TypeTable, TypeTableRow); } + + private _chip: ChipTable; + /** 系統_背包#packet.xlsx > #chip */ + public get Chip(): ChipTable { return this._chip = this._chip || TableManager.InitTable("#packet#chip", ChipTable, ChipTableRow); } + + private _string: StringTable; + /** 系統_背包#packet.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#packet#string", StringTable, StringTableRow); } +} + +/** + * #select + */ +export class SelectTable extends TableBase {} + +export class SelectTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 機台名稱 */ + Slot: string; + /** 威力卡 */ + Card1: number; +} + +/** + * #type + */ +export class TypeTable extends TableBase {} + +export class TypeTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 字串 */ + String: number; +} + +/** + * #chip + */ +export class ChipTable extends TableBase {} + +export class ChipTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 機台 */ + Slot: number; + /** 機台名稱 */ + Name: string; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 繁體中文訊息 */ + MsgZnTw: string; +} diff --git a/src/script/FormTable/Tables/RankTable.ts b/src/script/FormTable/Tables/RankTable.ts new file mode 100644 index 0000000..a9effd2 --- /dev/null +++ b/src/script/FormTable/Tables/RankTable.ts @@ -0,0 +1,56 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_排行榜#rank.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class RankTable extends TableBase { + private _string: StringTable; + /** 系統_排行榜#rank.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#rank#string", StringTable, StringTableRow); } + + private _rankSlotset: RankSlotsetTable; + /** 系統_排行榜#rank.xlsx > #rank_slotset */ + public get RankSlotset(): RankSlotsetTable { return this._rankSlotset = this._rankSlotset || TableManager.InitTable("#rank#rank_slotset", RankSlotsetTable, RankSlotsetTableRow); } +} + +export class RankTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + Rank1: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 介面字串 */ + MsgZnTw: string; +} + +/** + * #rank_slotset + */ +export class RankSlotsetTable extends TableBase {} + +export class RankSlotsetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 贏分榜 */ + Rank2: number; + /** 累積贏分榜 */ + Rank3: number; + /** 單把贏分榜 */ + Rank4: number; + /** 單把倍數榜 */ + Rank5: number; + /** 可否回放 */ + Replay: number; +} diff --git a/src/script/FormTable/Tables/ShopTable.ts b/src/script/FormTable/Tables/ShopTable.ts new file mode 100644 index 0000000..f332d64 --- /dev/null +++ b/src/script/FormTable/Tables/ShopTable.ts @@ -0,0 +1,129 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 共用_商城#shop.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class ShopTable extends TableBase { + private _shopMoney: ShopMoneyTable; + /** 共用_商城#shop.xlsx > #shop_money */ + public get ShopMoney(): ShopMoneyTable { return this._shopMoney = this._shopMoney || TableManager.InitTable("#shop#shop_money", ShopMoneyTable, ShopMoneyTableRow); } + + private _shopMycard: ShopMycardTable; + /** 共用_商城#shop.xlsx > #shop_mycard */ + public get ShopMycard(): ShopMycardTable { return this._shopMycard = this._shopMycard || TableManager.InitTable("#shop#shop_mycard", ShopMycardTable, ShopMycardTableRow); } + + private _shopAd: ShopAdTable; + /** 共用_商城#shop.xlsx > #shop_ad */ + public get ShopAd(): ShopAdTable { return this._shopAd = this._shopAd || TableManager.InitTable("#shop#shop_ad", ShopAdTable, ShopAdTableRow); } + + private _shopPackage: ShopPackageTable; + /** 共用_商城#shop.xlsx > #shop_package */ + public get ShopPackage(): ShopPackageTable { return this._shopPackage = this._shopPackage || TableManager.InitTable("#shop#shop_package", ShopPackageTable, ShopPackageTableRow); } +} + +/** + * #shop_money + */ +export class ShopMoneyTable extends TableBase {} + +export class ShopMoneyTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 商品品項 */ + Product: string; + /** 價格 */ + PriceGoogle: number; + /** 價格 */ + PriceApple: number; + /** 金幣數量 */ + GoldGoogle: number; + /** 金幣數量 */ + GoldApple: number; + /** 產品ID */ + Productid: string; +} + +/** + * #shop_mycard + */ +export class ShopMycardTable extends TableBase {} + +export class ShopMycardTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 商品品項 */ + Product: string; + /** 價格 */ + Price: number; + /** 信件ID */ + Mail: number; +} + +/** + * #shop_ad + */ +export class ShopAdTable extends TableBase {} + +export class ShopAdTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 商品品項 */ + Product: string; + /** 價格 */ + PriceGoogle: number; + /** 價格 */ + PriceApple: number; + /** 購買類型 */ + PurchaseType: number; + /** 主打商品 */ + ItemGoogle: any; + /** 主打商品 */ + ItemApple: any; +} + +/** + * #shop_package + */ +export class ShopPackageTable extends TableBase {} + +export class ShopPackageTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 商品品項 */ + Product: string; + /** 價格 */ + PriceGoogle: number; + /** 價格 */ + PriceApple: number; + /** 購買類型 */ + PurchaseType: number; + /** 購買參數 */ + PurchaseParameter: number; + /** 使用圖片 */ + Ad: number; + /** 圖片版號 */ + Ver: number; + /** 下架 */ + Off: string; + /** 主打商品_1 */ + Item1: any; + /** 主打商品_2 */ + Item2: any; + /** 主打商品_3 */ + Item3: any; + /** 主打商品_4 */ + Item4: any; + /** 主打商品_5 */ + Item5: any; + /** 禮包類型 */ + PackageType: number; + /** 禮包內容 */ + PackageMail: any; + /** 排序 */ + Sort: number; + /** 強制跳出 */ + Jump: number; +} diff --git a/src/script/FormTable/Tables/Slot001Table.ts b/src/script/FormTable/Tables/Slot001Table.ts new file mode 100644 index 0000000..fd78cc4 --- /dev/null +++ b/src/script/FormTable/Tables/Slot001Table.ts @@ -0,0 +1,175 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_001福氣財神#slot_001.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot001Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_001福氣財神#slot_001.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_001#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_001福氣財神#slot_001.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_001#symbol", SymbolTable, SymbolTableRow); } + + private _payMain: PayMainTable; + /** SLOT_001福氣財神#slot_001.xlsx > #pay_main */ + public get PayMain(): PayMainTable { return this._payMain = this._payMain || TableManager.InitTable("#slot_001#pay_main", PayMainTable, PayMainTableRow); } + + private _payFree: PayFreeTable; + /** SLOT_001福氣財神#slot_001.xlsx > #pay_free */ + public get PayFree(): PayFreeTable { return this._payFree = this._payFree || TableManager.InitTable("#slot_001#pay_free", PayFreeTable, PayFreeTableRow); } + + private _line: LineTable; + /** SLOT_001福氣財神#slot_001.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_001#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_001福氣財神#slot_001.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_001#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_001福氣財神#slot_001.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_001#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_001福氣財神#slot_001.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_001#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_001福氣財神#slot_001.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_001#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay_main + */ +export class PayMainTable extends TableBase {} + +export class PayMainTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; + /** 賠率 */ + X6: number; +} + +/** + * #pay_free + */ +export class PayFreeTable extends TableBase {} + +export class PayFreeTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; + /** 賠率 */ + X6: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot002Table.ts b/src/script/FormTable/Tables/Slot002Table.ts new file mode 100644 index 0000000..63f43d2 --- /dev/null +++ b/src/script/FormTable/Tables/Slot002Table.ts @@ -0,0 +1,181 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_002火焰巨輪#slot_002.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot002Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_002#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_002#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_002#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_002#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_002#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_002#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_002#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _bonusWheel: BonusWheelTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #bonus_wheel */ + public get BonusWheel(): BonusWheelTable { return this._bonusWheel = this._bonusWheel || TableManager.InitTable("#slot_002#bonus_wheel", BonusWheelTable, BonusWheelTableRow); } + + private _symbolWheel: SymbolWheelTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #symbol_wheel */ + public get SymbolWheel(): SymbolWheelTable { return this._symbolWheel = this._symbolWheel || TableManager.InitTable("#slot_002#symbol_wheel", SymbolWheelTable, SymbolWheelTableRow); } + + private _sound: SoundTable; + /** SLOT_002火焰巨輪#slot_002.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_002#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #bonus_wheel + */ +export class BonusWheelTable extends TableBase {} + +export class BonusWheelTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖片 */ + PicIdx: number; +} + +/** + * #symbol_wheel + */ +export class SymbolWheelTable extends TableBase {} + +export class SymbolWheelTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIdx: number; + /** 底圖索引 */ + BgIdx: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot003Table.ts b/src/script/FormTable/Tables/Slot003Table.ts new file mode 100644 index 0000000..01688a0 --- /dev/null +++ b/src/script/FormTable/Tables/Slot003Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_003翻轉提基#slot_003.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot003Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_003翻轉提基#slot_003.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_003#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_003翻轉提基#slot_003.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_003#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_003翻轉提基#slot_003.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_003#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_003翻轉提基#slot_003.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_003#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_003翻轉提基#slot_003.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_003#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_003翻轉提基#slot_003.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_003#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_003翻轉提基#slot_003.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_003#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot004Table.ts b/src/script/FormTable/Tables/Slot004Table.ts new file mode 100644 index 0000000..617daa2 --- /dev/null +++ b/src/script/FormTable/Tables/Slot004Table.ts @@ -0,0 +1,117 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_004埃及#slot_004.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot004Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_004埃及#slot_004.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_004#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_004埃及#slot_004.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_004#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_004埃及#slot_004.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_004#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_004埃及#slot_004.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_004#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_004埃及#slot_004.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_004#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_004埃及#slot_004.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_004#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot005Table.ts b/src/script/FormTable/Tables/Slot005Table.ts new file mode 100644 index 0000000..a300bba --- /dev/null +++ b/src/script/FormTable/Tables/Slot005Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_005雷電#slot_005.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot005Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_005雷電#slot_005.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_005#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_005雷電#slot_005.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_005#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_005雷電#slot_005.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_005#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_005雷電#slot_005.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_005#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_005雷電#slot_005.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_005#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_005雷電#slot_005.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_005#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_005雷電#slot_005.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_005#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot006Table.ts b/src/script/FormTable/Tables/Slot006Table.ts new file mode 100644 index 0000000..aecdf28 --- /dev/null +++ b/src/script/FormTable/Tables/Slot006Table.ts @@ -0,0 +1,147 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_006四方美人#slot_006.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot006Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_006四方美人#slot_006.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_006#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_006四方美人#slot_006.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_006#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_006四方美人#slot_006.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_006#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_006四方美人#slot_006.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_006#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_006四方美人#slot_006.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_006#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_006四方美人#slot_006.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_006#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_006四方美人#slot_006.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_006#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_006四方美人#slot_006.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_006#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot007Table.ts b/src/script/FormTable/Tables/Slot007Table.ts new file mode 100644 index 0000000..cbf11d7 --- /dev/null +++ b/src/script/FormTable/Tables/Slot007Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_007鍊金術師#slot_007.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot007Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_007鍊金術師#slot_007.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_007#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_007鍊金術師#slot_007.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_007#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_007鍊金術師#slot_007.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_007#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_007鍊金術師#slot_007.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_007#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_007鍊金術師#slot_007.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_007#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_007鍊金術師#slot_007.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_007#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_007鍊金術師#slot_007.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_007#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot008Table.ts b/src/script/FormTable/Tables/Slot008Table.ts new file mode 100644 index 0000000..bcea33f --- /dev/null +++ b/src/script/FormTable/Tables/Slot008Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_008鯊魚#slot_008.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot008Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_008鯊魚#slot_008.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_008#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_008鯊魚#slot_008.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_008#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_008鯊魚#slot_008.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_008#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_008鯊魚#slot_008.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_008#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_008鯊魚#slot_008.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_008#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_008鯊魚#slot_008.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_008#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_008鯊魚#slot_008.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_008#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot009Table.ts b/src/script/FormTable/Tables/Slot009Table.ts new file mode 100644 index 0000000..7eafa36 --- /dev/null +++ b/src/script/FormTable/Tables/Slot009Table.ts @@ -0,0 +1,137 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_009美女與野獸#slot_009.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot009Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_009美女與野獸#slot_009.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_009#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_009美女與野獸#slot_009.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_009#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_009美女與野獸#slot_009.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_009#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_009美女與野獸#slot_009.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_009#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_009美女與野獸#slot_009.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_009#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_009美女與野獸#slot_009.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_009#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_009美女與野獸#slot_009.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_009#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** 共用(名稱) */ + BName: string; + /** client專用(值) */ + CValue: number; + /** client專用(名稱) */ + CName: string; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot010Table.ts b/src/script/FormTable/Tables/Slot010Table.ts new file mode 100644 index 0000000..7cdbdb5 --- /dev/null +++ b/src/script/FormTable/Tables/Slot010Table.ts @@ -0,0 +1,187 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_010紅利金貓#slot_010.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot010Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_010#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_010#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_010#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_010#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_010#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_010#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_010#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _bonusSymbol: BonusSymbolTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #bonus_symbol */ + public get BonusSymbol(): BonusSymbolTable { return this._bonusSymbol = this._bonusSymbol || TableManager.InitTable("#slot_010#bonus_symbol", BonusSymbolTable, BonusSymbolTableRow); } + + private _bonusWheel: BonusWheelTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #bonus_wheel */ + public get BonusWheel(): BonusWheelTable { return this._bonusWheel = this._bonusWheel || TableManager.InitTable("#slot_010#bonus_wheel", BonusWheelTable, BonusWheelTableRow); } + + private _sound: SoundTable; + /** SLOT_010紅利金貓#slot_010.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_010#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; + /** 連續圖 */ + ContinuousPic: any; + /** 連續圖 */ + PicNext: number; + /** 連續圖 */ + PicPrev: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #bonus_symbol + */ +export class BonusSymbolTable extends TableBase {} + +export class BonusSymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIdx: number; + /** 底圖索引 */ + BgIdx: number; +} + +/** + * #bonus_wheel + */ +export class BonusWheelTable extends TableBase {} + +export class BonusWheelTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot011Table.ts b/src/script/FormTable/Tables/Slot011Table.ts new file mode 100644 index 0000000..d6ff603 --- /dev/null +++ b/src/script/FormTable/Tables/Slot011Table.ts @@ -0,0 +1,151 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_011戀愛學園祭#slot_011.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot011Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_011戀愛學園祭#slot_011.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_011#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_011戀愛學園祭#slot_011.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_011#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_011戀愛學園祭#slot_011.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_011#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_011戀愛學園祭#slot_011.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_011#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_011戀愛學園祭#slot_011.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_011#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_011戀愛學園祭#slot_011.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_011#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_011戀愛學園祭#slot_011.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_011#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_011戀愛學園祭#slot_011.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_011#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 重複位移 */ + SameShift: number; + /** 連續圖 */ + ContinuousPic: any; + /** 連續圖 */ + PicNext: number; + /** 連續圖 */ + PicPrev: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot012Table.ts b/src/script/FormTable/Tables/Slot012Table.ts new file mode 100644 index 0000000..2f40646 --- /dev/null +++ b/src/script/FormTable/Tables/Slot012Table.ts @@ -0,0 +1,117 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_012魔法少女#slot_012.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot012Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_012魔法少女#slot_012.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_012#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_012魔法少女#slot_012.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_012#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_012魔法少女#slot_012.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_012#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_012魔法少女#slot_012.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_012#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_012魔法少女#slot_012.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_012#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_012魔法少女#slot_012.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_012#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot013Table.ts b/src/script/FormTable/Tables/Slot013Table.ts new file mode 100644 index 0000000..93af4e4 --- /dev/null +++ b/src/script/FormTable/Tables/Slot013Table.ts @@ -0,0 +1,117 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_013年獸獻瑞#slot_013.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot013Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_013年獸獻瑞#slot_013.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_013#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_013年獸獻瑞#slot_013.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_013#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_013年獸獻瑞#slot_013.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_013#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_013年獸獻瑞#slot_013.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_013#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_013年獸獻瑞#slot_013.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_013#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_013年獸獻瑞#slot_013.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_013#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot014Table.ts b/src/script/FormTable/Tables/Slot014Table.ts new file mode 100644 index 0000000..a37297e --- /dev/null +++ b/src/script/FormTable/Tables/Slot014Table.ts @@ -0,0 +1,129 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_014騎士風雲#slot_014.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot014Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_014騎士風雲#slot_014.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_014#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_014騎士風雲#slot_014.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_014#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_014騎士風雲#slot_014.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_014#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_014騎士風雲#slot_014.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_014#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_014騎士風雲#slot_014.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_014#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_014騎士風雲#slot_014.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_014#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_014騎士風雲#slot_014.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_014#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot015Table.ts b/src/script/FormTable/Tables/Slot015Table.ts new file mode 100644 index 0000000..20088a7 --- /dev/null +++ b/src/script/FormTable/Tables/Slot015Table.ts @@ -0,0 +1,151 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_015神鬼戰士#slot_015.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot015Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_015神鬼戰士#slot_015.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_015#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_015神鬼戰士#slot_015.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_015#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_015神鬼戰士#slot_015.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_015#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_015神鬼戰士#slot_015.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_015#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_015神鬼戰士#slot_015.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_015#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_015神鬼戰士#slot_015.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_015#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_015神鬼戰士#slot_015.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_015#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _bonusWheelClient: BonusWheelClientTable; + /** SLOT_015神鬼戰士#slot_015.xlsx > #bonus_wheel_client */ + public get BonusWheelClient(): BonusWheelClientTable { return this._bonusWheelClient = this._bonusWheelClient || TableManager.InitTable("#slot_015#bonus_wheel_client", BonusWheelClientTable, BonusWheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #bonus_wheel_client + */ +export class BonusWheelClientTable extends TableBase {} + +export class BonusWheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIdx: number; + /** 底圖索引 */ + BgIdx: number; +} diff --git a/src/script/FormTable/Tables/Slot016Table.ts b/src/script/FormTable/Tables/Slot016Table.ts new file mode 100644 index 0000000..177cec8 --- /dev/null +++ b/src/script/FormTable/Tables/Slot016Table.ts @@ -0,0 +1,147 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_016風暴女王#slot_016.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot016Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_016風暴女王#slot_016.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_016#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_016風暴女王#slot_016.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_016#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_016風暴女王#slot_016.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_016#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_016風暴女王#slot_016.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_016#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_016風暴女王#slot_016.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_016#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_016風暴女王#slot_016.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_016#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_016風暴女王#slot_016.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_016#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_016風暴女王#slot_016.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_016#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot017Table.ts b/src/script/FormTable/Tables/Slot017Table.ts new file mode 100644 index 0000000..73dc9d0 --- /dev/null +++ b/src/script/FormTable/Tables/Slot017Table.ts @@ -0,0 +1,147 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_017帽子#slot_017.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot017Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_017帽子#slot_017.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_017#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_017帽子#slot_017.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_017#symbol", SymbolTable, SymbolTableRow); } + + private _feature1ClientSymbol: Feature1ClientSymbolTable; + /** SLOT_017帽子#slot_017.xlsx > #feature1_client_symbol */ + public get Feature1ClientSymbol(): Feature1ClientSymbolTable { return this._feature1ClientSymbol = this._feature1ClientSymbol || TableManager.InitTable("#slot_017#feature1_client_symbol", Feature1ClientSymbolTable, Feature1ClientSymbolTableRow); } + + private _pay: PayTable; + /** SLOT_017帽子#slot_017.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_017#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_017帽子#slot_017.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_017#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_017帽子#slot_017.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_017#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_017帽子#slot_017.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_017#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_017帽子#slot_017.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_017#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #feature1_client_symbol + */ +export class Feature1ClientSymbolTable extends TableBase {} + +export class Feature1ClientSymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot018Table.ts b/src/script/FormTable/Tables/Slot018Table.ts new file mode 100644 index 0000000..ce41104 --- /dev/null +++ b/src/script/FormTable/Tables/Slot018Table.ts @@ -0,0 +1,165 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_018搖錢樹#slot_018.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot018Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_018搖錢樹#slot_018.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_018#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_018搖錢樹#slot_018.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_018#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_018搖錢樹#slot_018.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_018#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_018搖錢樹#slot_018.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_018#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_018搖錢樹#slot_018.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_018#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_018搖錢樹#slot_018.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_018#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_018搖錢樹#slot_018.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_018#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_018搖錢樹#slot_018.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_018#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _path: PathTable; + /** SLOT_018搖錢樹#slot_018.xlsx > #path */ + public get Path(): PathTable { return this._path = this._path || TableManager.InitTable("#slot_018#path", PathTable, PathTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #path + */ +export class PathTable extends TableBase {} + +export class PathTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 時間 */ + Time: number; + /** 路徑點 */ + PathPoins: any; +} diff --git a/src/script/FormTable/Tables/Slot019Table.ts b/src/script/FormTable/Tables/Slot019Table.ts new file mode 100644 index 0000000..018186f --- /dev/null +++ b/src/script/FormTable/Tables/Slot019Table.ts @@ -0,0 +1,109 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_019礦坑#slot_019.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot019Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_019礦坑#slot_019.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_019#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_019礦坑#slot_019.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_019#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_019礦坑#slot_019.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_019#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_019礦坑#slot_019.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_019#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_019礦坑#slot_019.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_019#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** 共用(名稱) */ + BName: string; + /** client專用(值) */ + CValue: number; + /** client專用(名稱) */ + CName: string; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; + /** 賠率 */ + X6: number; + /** 賠率 */ + X7: number; + /** 賠率 */ + X8: number; + /** 賠率 */ + X9: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot020Table.ts b/src/script/FormTable/Tables/Slot020Table.ts new file mode 100644 index 0000000..5e3eb6f --- /dev/null +++ b/src/script/FormTable/Tables/Slot020Table.ts @@ -0,0 +1,147 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_020特務奇兵#slot_020.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot020Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_020特務奇兵#slot_020.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_020#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_020特務奇兵#slot_020.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_020#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_020特務奇兵#slot_020.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_020#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_020特務奇兵#slot_020.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_020#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_020特務奇兵#slot_020.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_020#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_020特務奇兵#slot_020.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_020#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _freeMoney: FreeMoneyTable; + /** SLOT_020特務奇兵#slot_020.xlsx > #free_money */ + public get FreeMoney(): FreeMoneyTable { return this._freeMoney = this._freeMoney || TableManager.InitTable("#slot_020#free_money", FreeMoneyTable, FreeMoneyTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #free_money + */ +export class FreeMoneyTable extends TableBase {} + +export class FreeMoneyTableRow implements ITableRow { + /** 館別 */ + Id: number; + /** 嘍囉上限 */ + Limit9: number; + /** 嘍囉獎金 */ + Money9: any; + /** 打手上限 */ + Limit8: number; + /** 打手獎金 */ + Money8: any; + /** 老大上限 */ + Limit7: number; + /** 老大獎金 */ + Money7: any; + /** 炸彈上限 */ + Limit6: number; + /** 炸彈獎金 */ + Money6: any; +} diff --git a/src/script/FormTable/Tables/Slot021Table.ts b/src/script/FormTable/Tables/Slot021Table.ts new file mode 100644 index 0000000..effa9f8 --- /dev/null +++ b/src/script/FormTable/Tables/Slot021Table.ts @@ -0,0 +1,155 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_021火山#slot_021.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot021Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_021火山#slot_021.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_021#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_021火山#slot_021.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_021#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_021火山#slot_021.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_021#pay", PayTable, PayTableRow); } + + private _lineBase: LineBaseTable; + /** SLOT_021火山#slot_021.xlsx > #line_base */ + public get LineBase(): LineBaseTable { return this._lineBase = this._lineBase || TableManager.InitTable("#slot_021#line_base", LineBaseTable, LineBaseTableRow); } + + private _lineFree: LineFreeTable; + /** SLOT_021火山#slot_021.xlsx > #line_free */ + public get LineFree(): LineFreeTable { return this._lineFree = this._lineFree || TableManager.InitTable("#slot_021#line_free", LineFreeTable, LineFreeTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_021火山#slot_021.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_021#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_021火山#slot_021.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_021#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _path: PathTable; + /** SLOT_021火山#slot_021.xlsx > #path */ + public get Path(): PathTable { return this._path = this._path || TableManager.InitTable("#slot_021#path", PathTable, PathTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** 共用(名稱) */ + BName: string; + /** client專用(值) */ + CValue: number; + /** client專用(名稱) */ + CName: string; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; + /** 賠率 */ + X6: number; +} + +/** + * #line_base + */ +export class LineBaseTable extends TableBase {} + +export class LineBaseTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #line_free + */ +export class LineFreeTable extends TableBase {} + +export class LineFreeTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #path + */ +export class PathTable extends TableBase {} + +export class PathTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 時間 */ + Time: number; + /** 路徑點 */ + PathPoins: any; +} diff --git a/src/script/FormTable/Tables/Slot022Table.ts b/src/script/FormTable/Tables/Slot022Table.ts new file mode 100644 index 0000000..52041c9 --- /dev/null +++ b/src/script/FormTable/Tables/Slot022Table.ts @@ -0,0 +1,121 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_022提基酒吧#slot_022.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot022Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_022提基酒吧#slot_022.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_022#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_022提基酒吧#slot_022.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_022#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_022提基酒吧#slot_022.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_022#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_022提基酒吧#slot_022.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_022#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_022提基酒吧#slot_022.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_022#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _stringRule: StringRuleTable; + /** SLOT_022提基酒吧#slot_022.xlsx > #string_rule */ + public get StringRule(): StringRuleTable { return this._stringRule = this._stringRule || TableManager.InitTable("#slot_022#string_rule", StringRuleTable, StringRuleTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** 共用(名稱) */ + BName: string; + /** client專用(值) */ + CValue: number; + /** client專用(名稱) */ + CName: string; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #string_rule + */ +export class StringRuleTable extends TableBase {} + +export class StringRuleTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 訊息_英文 */ + MsgEn: string; + /** 訊息_中文 */ + MsgCh: string; +} diff --git a/src/script/FormTable/Tables/Slot023Table.ts b/src/script/FormTable/Tables/Slot023Table.ts new file mode 100644 index 0000000..9782312 --- /dev/null +++ b/src/script/FormTable/Tables/Slot023Table.ts @@ -0,0 +1,181 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_023888巨輪#slot_023.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot023Table extends TableBase { + private _symbol: SymbolTable; + /** SLOT_023888巨輪#slot_023.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_023#symbol", SymbolTable, SymbolTableRow); } + + private _fixed: FixedTable; + /** SLOT_023888巨輪#slot_023.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_023#fixed", FixedTable, FixedTableRow); } + + private _pay: PayTable; + /** SLOT_023888巨輪#slot_023.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_023#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_023888巨輪#slot_023.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_023#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_023888巨輪#slot_023.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_023#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_023888巨輪#slot_023.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_023#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_023888巨輪#slot_023.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_023#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _bonusWheel: BonusWheelTable; + /** SLOT_023888巨輪#slot_023.xlsx > #bonus_wheel */ + public get BonusWheel(): BonusWheelTable { return this._bonusWheel = this._bonusWheel || TableManager.InitTable("#slot_023#bonus_wheel", BonusWheelTable, BonusWheelTableRow); } + + private _symbolWheel: SymbolWheelTable; + /** SLOT_023888巨輪#slot_023.xlsx > #symbol_wheel */ + public get SymbolWheel(): SymbolWheelTable { return this._symbolWheel = this._symbolWheel || TableManager.InitTable("#slot_023#symbol_wheel", SymbolWheelTable, SymbolWheelTableRow); } + + private _sound: SoundTable; + /** SLOT_023888巨輪#slot_023.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_023#sound", SoundTable, SoundTableRow); } +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #bonus_wheel + */ +export class BonusWheelTable extends TableBase {} + +export class BonusWheelTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖片 */ + PicIdx: number; +} + +/** + * #symbol_wheel + */ +export class SymbolWheelTable extends TableBase {} + +export class SymbolWheelTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIdx: number; + /** 底圖索引 */ + BgIdx: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot024Table.ts b/src/script/FormTable/Tables/Slot024Table.ts new file mode 100644 index 0000000..63978e1 --- /dev/null +++ b/src/script/FormTable/Tables/Slot024Table.ts @@ -0,0 +1,131 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_024多福多財#slot_024.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot024Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_024多福多財#slot_024.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_024#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_024多福多財#slot_024.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_024#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_024多福多財#slot_024.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_024#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_024多福多財#slot_024.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_024#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_024多福多財#slot_024.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_024#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_024多福多財#slot_024.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_024#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_024多福多財#slot_024.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_024#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot025Table.ts b/src/script/FormTable/Tables/Slot025Table.ts new file mode 100644 index 0000000..895a070 --- /dev/null +++ b/src/script/FormTable/Tables/Slot025Table.ts @@ -0,0 +1,173 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_025鑽石之都#slot_025.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot025Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_025鑽石之都#slot_025.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_025#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_025鑽石之都#slot_025.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_025#symbol", SymbolTable, SymbolTableRow); } + + private _basepay: BasepayTable; + /** SLOT_025鑽石之都#slot_025.xlsx > #basepay */ + public get Basepay(): BasepayTable { return this._basepay = this._basepay || TableManager.InitTable("#slot_025#basepay", BasepayTable, BasepayTableRow); } + + private _freepay: FreepayTable; + /** SLOT_025鑽石之都#slot_025.xlsx > #freepay */ + public get Freepay(): FreepayTable { return this._freepay = this._freepay || TableManager.InitTable("#slot_025#freepay", FreepayTable, FreepayTableRow); } + + private _line: LineTable; + /** SLOT_025鑽石之都#slot_025.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_025#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_025鑽石之都#slot_025.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_025#sound", SoundTable, SoundTableRow); } + + private _ssMain: SsMainTable; + /** SLOT_025鑽石之都#slot_025.xlsx > #ss_main */ + public get SsMain(): SsMainTable { return this._ssMain = this._ssMain || TableManager.InitTable("#slot_025#ss_main", SsMainTable, SsMainTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_025鑽石之都#slot_025.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_025#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_025鑽石之都#slot_025.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_025#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #basepay + */ +export class BasepayTable extends TableBase {} + +export class BasepayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #freepay + */ +export class FreepayTable extends TableBase {} + +export class FreepayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #ss_main + */ +export class SsMainTable extends TableBase {} + +export class SsMainTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 權重 */ + Weight: any; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot026Table.ts b/src/script/FormTable/Tables/Slot026Table.ts new file mode 100644 index 0000000..9751cfe --- /dev/null +++ b/src/script/FormTable/Tables/Slot026Table.ts @@ -0,0 +1,117 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_026純金#slot_026.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot026Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_026純金#slot_026.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_026#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_026純金#slot_026.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_026#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_026純金#slot_026.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_026#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_026純金#slot_026.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_026#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_026純金#slot_026.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_026#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_026純金#slot_026.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_026#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot027Table.ts b/src/script/FormTable/Tables/Slot027Table.ts new file mode 100644 index 0000000..ab73105 --- /dev/null +++ b/src/script/FormTable/Tables/Slot027Table.ts @@ -0,0 +1,151 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_027富貴神龍#slot_027.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot027Table extends TableBase { + private _sound: SoundTable; + /** SLOT_027富貴神龍#slot_027.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_027#sound", SoundTable, SoundTableRow); } + + private _fixed: FixedTable; + /** SLOT_027富貴神龍#slot_027.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_027#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_027富貴神龍#slot_027.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_027#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_027富貴神龍#slot_027.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_027#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_027富貴神龍#slot_027.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_027#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_027富貴神龍#slot_027.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_027#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_027富貴神龍#slot_027.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_027#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _path: PathTable; + /** SLOT_027富貴神龍#slot_027.xlsx > #path */ + public get Path(): PathTable { return this._path = this._path || TableManager.InitTable("#slot_027#path", PathTable, PathTableRow); } +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #path + */ +export class PathTable extends TableBase {} + +export class PathTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 時間 */ + Time: number; + /** 路徑點 */ + PathPoins: any; +} diff --git a/src/script/FormTable/Tables/Slot028Table.ts b/src/script/FormTable/Tables/Slot028Table.ts new file mode 100644 index 0000000..7a7b1ef --- /dev/null +++ b/src/script/FormTable/Tables/Slot028Table.ts @@ -0,0 +1,131 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_028百萬金輪#slot_028.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot028Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_028百萬金輪#slot_028.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_028#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_028百萬金輪#slot_028.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_028#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_028百萬金輪#slot_028.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_028#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_028百萬金輪#slot_028.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_028#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_028百萬金輪#slot_028.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_028#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_028百萬金輪#slot_028.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_028#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_028百萬金輪#slot_028.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_028#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot029Table.ts b/src/script/FormTable/Tables/Slot029Table.ts new file mode 100644 index 0000000..75c03d3 --- /dev/null +++ b/src/script/FormTable/Tables/Slot029Table.ts @@ -0,0 +1,143 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_029十倍經典#slot_029.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot029Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_029十倍經典#slot_029.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_029#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_029十倍經典#slot_029.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_029#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_029十倍經典#slot_029.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_029#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_029十倍經典#slot_029.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_029#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_029十倍經典#slot_029.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_029#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_029十倍經典#slot_029.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_029#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_029十倍經典#slot_029.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_029#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_029十倍經典#slot_029.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_029#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot030Table.ts b/src/script/FormTable/Tables/Slot030Table.ts new file mode 100644 index 0000000..8bffa30 --- /dev/null +++ b/src/script/FormTable/Tables/Slot030Table.ts @@ -0,0 +1,117 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_030龍鳳呈祥#slot_030.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot030Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_030龍鳳呈祥#slot_030.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_030#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_030龍鳳呈祥#slot_030.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_030#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_030龍鳳呈祥#slot_030.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_030#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_030龍鳳呈祥#slot_030.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_030#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_030龍鳳呈祥#slot_030.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_030#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_030龍鳳呈祥#slot_030.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_030#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot031Table.ts b/src/script/FormTable/Tables/Slot031Table.ts new file mode 100644 index 0000000..1fc1efb --- /dev/null +++ b/src/script/FormTable/Tables/Slot031Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_031水滸英雄#slot_031.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot031Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_031水滸英雄#slot_031.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_031#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_031水滸英雄#slot_031.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_031#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_031水滸英雄#slot_031.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_031#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_031水滸英雄#slot_031.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_031#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_031水滸英雄#slot_031.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_031#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_031水滸英雄#slot_031.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_031#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_031水滸英雄#slot_031.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_031#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot032Table.ts b/src/script/FormTable/Tables/Slot032Table.ts new file mode 100644 index 0000000..06707bf --- /dev/null +++ b/src/script/FormTable/Tables/Slot032Table.ts @@ -0,0 +1,171 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_032埃及豔后#slot_032.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot032Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_032埃及豔后#slot_032.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_032#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_032埃及豔后#slot_032.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_032#symbol", SymbolTable, SymbolTableRow); } + + private _payMain: PayMainTable; + /** SLOT_032埃及豔后#slot_032.xlsx > #pay_main */ + public get PayMain(): PayMainTable { return this._payMain = this._payMain || TableManager.InitTable("#slot_032#pay_main", PayMainTable, PayMainTableRow); } + + private _payFree: PayFreeTable; + /** SLOT_032埃及豔后#slot_032.xlsx > #pay_free */ + public get PayFree(): PayFreeTable { return this._payFree = this._payFree || TableManager.InitTable("#slot_032#pay_free", PayFreeTable, PayFreeTableRow); } + + private _sound: SoundTable; + /** SLOT_032埃及豔后#slot_032.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_032#sound", SoundTable, SoundTableRow); } + + private _line: LineTable; + /** SLOT_032埃及豔后#slot_032.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_032#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_032埃及豔后#slot_032.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_032#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_032埃及豔后#slot_032.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_032#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_032埃及豔后#slot_032.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_032#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay_main + */ +export class PayMainTable extends TableBase {} + +export class PayMainTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #pay_free + */ +export class PayFreeTable extends TableBase {} + +export class PayFreeTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot033Table.ts b/src/script/FormTable/Tables/Slot033Table.ts new file mode 100644 index 0000000..b066645 --- /dev/null +++ b/src/script/FormTable/Tables/Slot033Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_033香水玫瑰#slot_033.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot033Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_033香水玫瑰#slot_033.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_033#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_033香水玫瑰#slot_033.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_033#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_033香水玫瑰#slot_033.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_033#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_033香水玫瑰#slot_033.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_033#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_033香水玫瑰#slot_033.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_033#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_033香水玫瑰#slot_033.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_033#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_033香水玫瑰#slot_033.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_033#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot034Table.ts b/src/script/FormTable/Tables/Slot034Table.ts new file mode 100644 index 0000000..7baaef2 --- /dev/null +++ b/src/script/FormTable/Tables/Slot034Table.ts @@ -0,0 +1,185 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_034招財金貓#slot_034.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot034Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_034招財金貓#slot_034.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_034#fixed", FixedTable, FixedTableRow); } + + private _multiplier: MultiplierTable; + /** SLOT_034招財金貓#slot_034.xlsx > #multiplier */ + public get Multiplier(): MultiplierTable { return this._multiplier = this._multiplier || TableManager.InitTable("#slot_034#multiplier", MultiplierTable, MultiplierTableRow); } + + private _symbol: SymbolTable; + /** SLOT_034招財金貓#slot_034.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_034#symbol", SymbolTable, SymbolTableRow); } + + private _basepay: BasepayTable; + /** SLOT_034招財金貓#slot_034.xlsx > #basepay */ + public get Basepay(): BasepayTable { return this._basepay = this._basepay || TableManager.InitTable("#slot_034#basepay", BasepayTable, BasepayTableRow); } + + private _freepay: FreepayTable; + /** SLOT_034招財金貓#slot_034.xlsx > #freepay */ + public get Freepay(): FreepayTable { return this._freepay = this._freepay || TableManager.InitTable("#slot_034#freepay", FreepayTable, FreepayTableRow); } + + private _line: LineTable; + /** SLOT_034招財金貓#slot_034.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_034#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_034招財金貓#slot_034.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_034#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_034招財金貓#slot_034.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_034#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_034招財金貓#slot_034.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_034#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #multiplier + */ +export class MultiplierTable extends TableBase {} + +export class MultiplierTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 組合列數 */ + Rows: number; + /** 組合行數 */ + Cols: number; + /** 是否隨機 */ + Rand: number; + /** 倍數(JP從-1,-2,-3,-4,-5表示-1為BigPot,-5為JP) */ + Multi: any; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; + /** 連續圖 */ + ContinuousPic: any; + /** 連續圖 */ + PicNext: number; + /** 連續圖 */ + PicPrev: number; +} + +/** + * #basepay + */ +export class BasepayTable extends TableBase {} + +export class BasepayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #freepay + */ +export class FreepayTable extends TableBase {} + +export class FreepayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot035Table.ts b/src/script/FormTable/Tables/Slot035Table.ts new file mode 100644 index 0000000..d7f7129 --- /dev/null +++ b/src/script/FormTable/Tables/Slot035Table.ts @@ -0,0 +1,121 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_035多金多銀#slot_035.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot035Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_035多金多銀#slot_035.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_035#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_035多金多銀#slot_035.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_035#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_035多金多銀#slot_035.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_035#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_035多金多銀#slot_035.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_035#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_035多金多銀#slot_035.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_035#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_035多金多銀#slot_035.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_035#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** 共用(名稱) */ + BName: string; + /** client專用(值) */ + CValue: number; + /** client專用(名稱) */ + CName: string; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot036Table.ts b/src/script/FormTable/Tables/Slot036Table.ts new file mode 100644 index 0000000..be2895d --- /dev/null +++ b/src/script/FormTable/Tables/Slot036Table.ts @@ -0,0 +1,143 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_036驚奇之星#slot_036.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot036Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_036驚奇之星#slot_036.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_036#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_036驚奇之星#slot_036.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_036#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_036驚奇之星#slot_036.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_036#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_036驚奇之星#slot_036.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_036#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_036驚奇之星#slot_036.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_036#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_036驚奇之星#slot_036.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_036#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_036驚奇之星#slot_036.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_036#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_036驚奇之星#slot_036.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_036#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot037Table.ts b/src/script/FormTable/Tables/Slot037Table.ts new file mode 100644 index 0000000..815ffc6 --- /dev/null +++ b/src/script/FormTable/Tables/Slot037Table.ts @@ -0,0 +1,149 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_037幸運七#slot_037.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot037Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_037幸運七#slot_037.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_037#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_037幸運七#slot_037.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_037#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_037幸運七#slot_037.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_037#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_037幸運七#slot_037.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_037#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_037幸運七#slot_037.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_037#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_037幸運七#slot_037.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_037#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_037幸運七#slot_037.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_037#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_037幸運七#slot_037.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_037#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; + /** 連續圖 */ + ContinuousPic: any; + /** 連續圖 */ + PicNext: number; + /** 連續圖 */ + PicPrev: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot038Table.ts b/src/script/FormTable/Tables/Slot038Table.ts new file mode 100644 index 0000000..027125e --- /dev/null +++ b/src/script/FormTable/Tables/Slot038Table.ts @@ -0,0 +1,149 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_038經典九線#slot_038.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot038Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_038經典九線#slot_038.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_038#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_038經典九線#slot_038.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_038#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_038經典九線#slot_038.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_038#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_038經典九線#slot_038.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_038#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_038經典九線#slot_038.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_038#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_038經典九線#slot_038.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_038#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_038經典九線#slot_038.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_038#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_038經典九線#slot_038.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_038#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; + /** 連續圖 */ + ContinuousPic: any; + /** 連續圖 */ + PicNext: number; + /** 連續圖 */ + PicPrev: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot039Table.ts b/src/script/FormTable/Tables/Slot039Table.ts new file mode 100644 index 0000000..107dec3 --- /dev/null +++ b/src/script/FormTable/Tables/Slot039Table.ts @@ -0,0 +1,143 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_039閃電倒轉#slot_039.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot039Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_039閃電倒轉#slot_039.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_039#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_039閃電倒轉#slot_039.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_039#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_039閃電倒轉#slot_039.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_039#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_039閃電倒轉#slot_039.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_039#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_039閃電倒轉#slot_039.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_039#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_039閃電倒轉#slot_039.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_039#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_039閃電倒轉#slot_039.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_039#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_039閃電倒轉#slot_039.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_039#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot040Table.ts b/src/script/FormTable/Tables/Slot040Table.ts new file mode 100644 index 0000000..edb7ab6 --- /dev/null +++ b/src/script/FormTable/Tables/Slot040Table.ts @@ -0,0 +1,131 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_040海姬#slot_040.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot040Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_040海姬#slot_040.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_040#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_040海姬#slot_040.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_040#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_040海姬#slot_040.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_040#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_040海姬#slot_040.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_040#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_040海姬#slot_040.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_040#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_040海姬#slot_040.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_040#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_040海姬#slot_040.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_040#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot041Table.ts b/src/script/FormTable/Tables/Slot041Table.ts new file mode 100644 index 0000000..295a9d1 --- /dev/null +++ b/src/script/FormTable/Tables/Slot041Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_041愛麗絲#slot_041.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot041Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_041愛麗絲#slot_041.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_041#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_041愛麗絲#slot_041.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_041#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_041愛麗絲#slot_041.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_041#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_041愛麗絲#slot_041.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_041#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_041愛麗絲#slot_041.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_041#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_041愛麗絲#slot_041.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_041#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_041愛麗絲#slot_041.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_041#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** 共用(名稱) */ + BName: string; + /** client專用(值) */ + CValue: number; + /** client專用(名稱) */ + CName: string; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot042Table.ts b/src/script/FormTable/Tables/Slot042Table.ts new file mode 100644 index 0000000..a3e6ae3 --- /dev/null +++ b/src/script/FormTable/Tables/Slot042Table.ts @@ -0,0 +1,217 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_042好運到#slot_042.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot042Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_042好運到#slot_042.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_042#fixed", FixedTable, FixedTableRow); } + + private _bonusInfo: BonusInfoTable; + /** SLOT_042好運到#slot_042.xlsx > #bonus_info */ + public get BonusInfo(): BonusInfoTable { return this._bonusInfo = this._bonusInfo || TableManager.InitTable("#slot_042#bonus_info", BonusInfoTable, BonusInfoTableRow); } + + private _symbol: SymbolTable; + /** SLOT_042好運到#slot_042.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_042#symbol", SymbolTable, SymbolTableRow); } + + private _basepay: BasepayTable; + /** SLOT_042好運到#slot_042.xlsx > #basepay */ + public get Basepay(): BasepayTable { return this._basepay = this._basepay || TableManager.InitTable("#slot_042#basepay", BasepayTable, BasepayTableRow); } + + private _freepay: FreepayTable; + /** SLOT_042好運到#slot_042.xlsx > #freepay */ + public get Freepay(): FreepayTable { return this._freepay = this._freepay || TableManager.InitTable("#slot_042#freepay", FreepayTable, FreepayTableRow); } + + private _line: LineTable; + /** SLOT_042好運到#slot_042.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_042#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_042好運到#slot_042.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_042#sound", SoundTable, SoundTableRow); } + + private _string: StringTable; + /** SLOT_042好運到#slot_042.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#slot_042#string", StringTable, StringTableRow); } + + private _ss: SsTable; + /** SLOT_042好運到#slot_042.xlsx > #ss */ + public get Ss(): SsTable { return this._ss = this._ss || TableManager.InitTable("#slot_042#ss", SsTable, SsTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_042好運到#slot_042.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_042#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_042好運到#slot_042.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_042#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #bonus_info + */ +export class BonusInfoTable extends TableBase {} + +export class BonusInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 類型 */ + Type: number; + /** 局數 */ + Freespins: number; + /** wild數 */ + Wilds: number; + /** 重複觸發局數 */ + Retrigger: number; + /** 滾輪帶編號 */ + WheelId: any; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #basepay + */ +export class BasepayTable extends TableBase {} + +export class BasepayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #freepay + */ +export class FreepayTable extends TableBase {} + +export class FreepayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; +} + +/** + * #ss + */ +export class SsTable extends TableBase {} + +export class SsTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 權重 */ + Weight: any; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot043Table.ts b/src/script/FormTable/Tables/Slot043Table.ts new file mode 100644 index 0000000..c9ef53b --- /dev/null +++ b/src/script/FormTable/Tables/Slot043Table.ts @@ -0,0 +1,139 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_043亞歷山大#slot_043.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot043Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_043亞歷山大#slot_043.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_043#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_043亞歷山大#slot_043.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_043#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_043亞歷山大#slot_043.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_043#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_043亞歷山大#slot_043.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_043#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_043亞歷山大#slot_043.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_043#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_043亞歷山大#slot_043.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_043#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_043亞歷山大#slot_043.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_043#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; + /** 連續圖 */ + ContinuousPic: any; + /** 連續圖 */ + PicNext: number; + /** 連續圖 */ + PicPrev: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot044Table.ts b/src/script/FormTable/Tables/Slot044Table.ts new file mode 100644 index 0000000..48c0ad2 --- /dev/null +++ b/src/script/FormTable/Tables/Slot044Table.ts @@ -0,0 +1,139 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_044五龍#slot_044.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot044Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_044五龍#slot_044.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_044#fixed", FixedTable, FixedTableRow); } + + private _freeInfo: FreeInfoTable; + /** SLOT_044五龍#slot_044.xlsx > #free_info */ + public get FreeInfo(): FreeInfoTable { return this._freeInfo = this._freeInfo || TableManager.InitTable("#slot_044#free_info", FreeInfoTable, FreeInfoTableRow); } + + private _symbol: SymbolTable; + /** SLOT_044五龍#slot_044.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_044#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_044五龍#slot_044.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_044#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_044五龍#slot_044.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_044#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_044五龍#slot_044.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_044#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_044五龍#slot_044.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_044#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #free_info + */ +export class FreeInfoTable extends TableBase {} + +export class FreeInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 轉數 */ + Spins: number; + /** 過wild倍數 */ + WildMulti: any; + /** 群組編號 */ + Group: number; + /** 紅包倍數 */ + RedMulti: any; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot045Table.ts b/src/script/FormTable/Tables/Slot045Table.ts new file mode 100644 index 0000000..f7e3973 --- /dev/null +++ b/src/script/FormTable/Tables/Slot045Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_045齊天大聖#slot_045.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot045Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_045齊天大聖#slot_045.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_045#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_045齊天大聖#slot_045.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_045#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_045齊天大聖#slot_045.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_045#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_045齊天大聖#slot_045.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_045#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_045齊天大聖#slot_045.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_045#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_045齊天大聖#slot_045.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_045#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_045齊天大聖#slot_045.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_045#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** 共用(名稱) */ + BName: string; + /** client專用(值) */ + CValue: number; + /** client專用(名稱) */ + CName: string; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot047Table.ts b/src/script/FormTable/Tables/Slot047Table.ts new file mode 100644 index 0000000..5a28d81 --- /dev/null +++ b/src/script/FormTable/Tables/Slot047Table.ts @@ -0,0 +1,137 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_047財神降臨#slot_047.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot047Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_047財神降臨#slot_047.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_047#fixed", FixedTable, FixedTableRow); } + + private _freeInfo: FreeInfoTable; + /** SLOT_047財神降臨#slot_047.xlsx > #free_info */ + public get FreeInfo(): FreeInfoTable { return this._freeInfo = this._freeInfo || TableManager.InitTable("#slot_047#free_info", FreeInfoTable, FreeInfoTableRow); } + + private _symbol: SymbolTable; + /** SLOT_047財神降臨#slot_047.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_047#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_047財神降臨#slot_047.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_047#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_047財神降臨#slot_047.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_047#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_047財神降臨#slot_047.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_047#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_047財神降臨#slot_047.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_047#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #free_info + */ +export class FreeInfoTable extends TableBase {} + +export class FreeInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 轉數 */ + Spins: number; + /** 過wild倍數 */ + WildMulti: any; + /** 群組編號 */ + Group: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot048Table.ts b/src/script/FormTable/Tables/Slot048Table.ts new file mode 100644 index 0000000..9fabd85 --- /dev/null +++ b/src/script/FormTable/Tables/Slot048Table.ts @@ -0,0 +1,147 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_048福星88#slot_048.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot048Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_048福星88#slot_048.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_048#fixed", FixedTable, FixedTableRow); } + + private _mainInfo: MainInfoTable; + /** SLOT_048福星88#slot_048.xlsx > #main_info */ + public get MainInfo(): MainInfoTable { return this._mainInfo = this._mainInfo || TableManager.InitTable("#slot_048#main_info", MainInfoTable, MainInfoTableRow); } + + private _freeInfo: FreeInfoTable; + /** SLOT_048福星88#slot_048.xlsx > #free_info */ + public get FreeInfo(): FreeInfoTable { return this._freeInfo = this._freeInfo || TableManager.InitTable("#slot_048#free_info", FreeInfoTable, FreeInfoTableRow); } + + private _symbol: SymbolTable; + /** SLOT_048福星88#slot_048.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_048#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_048福星88#slot_048.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_048#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_048福星88#slot_048.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_048#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_048福星88#slot_048.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_048#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_048福星88#slot_048.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_048#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #main_info + */ +export class MainInfoTable extends TableBase {} + +export class MainInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 過wild倍數 */ + WildMulti: any; +} + +/** + * #free_info + */ +export class FreeInfoTable extends TableBase {} + +export class FreeInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 轉數 */ + Spins: number; + /** 過wild倍數 */ + WildMulti: any; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot049Table.ts b/src/script/FormTable/Tables/Slot049Table.ts new file mode 100644 index 0000000..916439c --- /dev/null +++ b/src/script/FormTable/Tables/Slot049Table.ts @@ -0,0 +1,187 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_049熊貓#slot_049.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot049Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_049熊貓#slot_049.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_049#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_049熊貓#slot_049.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_049#symbol", SymbolTable, SymbolTableRow); } + + private _basepay: BasepayTable; + /** SLOT_049熊貓#slot_049.xlsx > #basepay */ + public get Basepay(): BasepayTable { return this._basepay = this._basepay || TableManager.InitTable("#slot_049#basepay", BasepayTable, BasepayTableRow); } + + private _line: LineTable; + /** SLOT_049熊貓#slot_049.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_049#line", LineTable, LineTableRow); } + + private _sound: SoundTable; + /** SLOT_049熊貓#slot_049.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_049#sound", SoundTable, SoundTableRow); } + + private _string: StringTable; + /** SLOT_049熊貓#slot_049.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#slot_049#string", StringTable, StringTableRow); } + + private _path: PathTable; + /** SLOT_049熊貓#slot_049.xlsx > #path */ + public get Path(): PathTable { return this._path = this._path || TableManager.InitTable("#slot_049#path", PathTable, PathTableRow); } + + private _ssMain: SsMainTable; + /** SLOT_049熊貓#slot_049.xlsx > #ss_main */ + public get SsMain(): SsMainTable { return this._ssMain = this._ssMain || TableManager.InitTable("#slot_049#ss_main", SsMainTable, SsMainTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_049熊貓#slot_049.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_049#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_049熊貓#slot_049.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_049#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #basepay + */ +export class BasepayTable extends TableBase {} + +export class BasepayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; +} + +/** + * #path + */ +export class PathTable extends TableBase {} + +export class PathTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 時間 */ + Time: number; + /** 路徑點 */ + PathPoins: any; +} + +/** + * #ss_main + */ +export class SsMainTable extends TableBase {} + +export class SsMainTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 權重 */ + Weight: any; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot050Table.ts b/src/script/FormTable/Tables/Slot050Table.ts new file mode 100644 index 0000000..1c1a4cd --- /dev/null +++ b/src/script/FormTable/Tables/Slot050Table.ts @@ -0,0 +1,149 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_050吉鼓發財#slot_050.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot050Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_050吉鼓發財#slot_050.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_050#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_050吉鼓發財#slot_050.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_050#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_050吉鼓發財#slot_050.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_050#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_050吉鼓發財#slot_050.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_050#sound", SoundTable, SoundTableRow); } + + private _freeInfo: FreeInfoTable; + /** SLOT_050吉鼓發財#slot_050.xlsx > #free_info */ + public get FreeInfo(): FreeInfoTable { return this._freeInfo = this._freeInfo || TableManager.InitTable("#slot_050#free_info", FreeInfoTable, FreeInfoTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_050吉鼓發財#slot_050.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_050#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_050吉鼓發財#slot_050.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_050#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_050吉鼓發財#slot_050.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_050#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #free_info + */ +export class FreeInfoTable extends TableBase {} + +export class FreeInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 行數 */ + Rows: number; + /** 轉數 */ + Spins: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot051Table.ts b/src/script/FormTable/Tables/Slot051Table.ts new file mode 100644 index 0000000..be68b43 --- /dev/null +++ b/src/script/FormTable/Tables/Slot051Table.ts @@ -0,0 +1,187 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_051皇帝88#slot_051.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot051Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_051皇帝88#slot_051.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_051#fixed", FixedTable, FixedTableRow); } + + private _mainInfo: MainInfoTable; + /** SLOT_051皇帝88#slot_051.xlsx > #main_info */ + public get MainInfo(): MainInfoTable { return this._mainInfo = this._mainInfo || TableManager.InitTable("#slot_051#main_info", MainInfoTable, MainInfoTableRow); } + + private _freeInfo: FreeInfoTable; + /** SLOT_051皇帝88#slot_051.xlsx > #free_info */ + public get FreeInfo(): FreeInfoTable { return this._freeInfo = this._freeInfo || TableManager.InitTable("#slot_051#free_info", FreeInfoTable, FreeInfoTableRow); } + + private _diceInfo: DiceInfoTable; + /** SLOT_051皇帝88#slot_051.xlsx > #dice_info */ + public get DiceInfo(): DiceInfoTable { return this._diceInfo = this._diceInfo || TableManager.InitTable("#slot_051#dice_info", DiceInfoTable, DiceInfoTableRow); } + + private _symbol: SymbolTable; + /** SLOT_051皇帝88#slot_051.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_051#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_051皇帝88#slot_051.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_051#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_051皇帝88#slot_051.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_051#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_051皇帝88#slot_051.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_051#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_051皇帝88#slot_051.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_051#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_051皇帝88#slot_051.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_051#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #main_info + */ +export class MainInfoTable extends TableBase {} + +export class MainInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 過wild倍數 */ + WildMulti: any; +} + +/** + * #free_info + */ +export class FreeInfoTable extends TableBase {} + +export class FreeInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 轉數 */ + Spins: number; +} + +/** + * #dice_info + */ +export class DiceInfoTable extends TableBase {} + +export class DiceInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 骰子數 */ + Dice: number; + /** 賠率 */ + Pay: number; + /** 升級倍率 */ + Up: any; + /** 升級權重 */ + UpWeights: any; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot052Table.ts b/src/script/FormTable/Tables/Slot052Table.ts new file mode 100644 index 0000000..88d0a25 --- /dev/null +++ b/src/script/FormTable/Tables/Slot052Table.ts @@ -0,0 +1,115 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_052HUGA#slot_052.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot052Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_052HUGA#slot_052.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_052#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_052HUGA#slot_052.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_052#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_052HUGA#slot_052.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_052#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_052HUGA#slot_052.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_052#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_052HUGA#slot_052.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_052#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_052HUGA#slot_052.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_052#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot054Table.ts b/src/script/FormTable/Tables/Slot054Table.ts new file mode 100644 index 0000000..c814bbc --- /dev/null +++ b/src/script/FormTable/Tables/Slot054Table.ts @@ -0,0 +1,137 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_054猛瑪#slot_054.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot054Table extends TableBase { + private _token: TokenTable; + /** SLOT_054猛瑪#slot_054.xlsx > #token */ + public get Token(): TokenTable { return this._token = this._token || TableManager.InitTable("#slot_054#token", TokenTable, TokenTableRow); } + + private _fixed: FixedTable; + /** SLOT_054猛瑪#slot_054.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_054#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_054猛瑪#slot_054.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_054#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_054猛瑪#slot_054.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_054#pay", PayTable, PayTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_054猛瑪#slot_054.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_054#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_054猛瑪#slot_054.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_054#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_054猛瑪#slot_054.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_054#sound", SoundTable, SoundTableRow); } +} + +/** + * #token + */ +export class TokenTable extends TableBase {} + +export class TokenTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** token種類 */ + TokenType: number; + /** token數量 */ + Token: any; + /** 可掛token的圖標 */ + PermitSymbols: any; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot055Table.ts b/src/script/FormTable/Tables/Slot055Table.ts new file mode 100644 index 0000000..7b529b1 --- /dev/null +++ b/src/script/FormTable/Tables/Slot055Table.ts @@ -0,0 +1,181 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_055幸運美鈔#slot_055.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot055Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_055幸運美鈔#slot_055.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_055#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_055幸運美鈔#slot_055.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_055#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_055幸運美鈔#slot_055.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_055#pay", PayTable, PayTableRow); } + + private _roulette: RouletteTable; + /** SLOT_055幸運美鈔#slot_055.xlsx > #roulette */ + public get Roulette(): RouletteTable { return this._roulette = this._roulette || TableManager.InitTable("#slot_055#roulette", RouletteTable, RouletteTableRow); } + + private _string: StringTable; + /** SLOT_055幸運美鈔#slot_055.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#slot_055#string", StringTable, StringTableRow); } + + private _sound: SoundTable; + /** SLOT_055幸運美鈔#slot_055.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_055#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_055幸運美鈔#slot_055.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_055#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_055幸運美鈔#slot_055.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_055#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; + /** 賠率 */ + X6: number; + /** 賠率 */ + X7: number; + /** 賠率 */ + X8: number; + /** 賠率 */ + X9: number; + /** 賠率 */ + X10: number; + /** 賠率 */ + X11: number; + /** 賠率 */ + X12: number; + /** 賠率 */ + X13: number; + /** 賠率 */ + X14: number; + /** 賠率 */ + X15: number; +} + +/** + * #roulette + */ +export class RouletteTable extends TableBase {} + +export class RouletteTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 種類 */ + Type: number; + /** 數值 */ + TypeValue: number; + /** 組合數 */ + ComboNumber: number; + /** 組合 */ + Combo: any; + /** 組合機率 */ + ComboWeights: any; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 繁體中文訊息(舊的不用填) */ + MsgCh: string; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot056Table.ts b/src/script/FormTable/Tables/Slot056Table.ts new file mode 100644 index 0000000..30aa413 --- /dev/null +++ b/src/script/FormTable/Tables/Slot056Table.ts @@ -0,0 +1,151 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_056彩虹筆#slot_056.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot056Table extends TableBase { + private _sound: SoundTable; + /** SLOT_056彩虹筆#slot_056.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_056#sound", SoundTable, SoundTableRow); } + + private _fixed: FixedTable; + /** SLOT_056彩虹筆#slot_056.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_056#fixed", FixedTable, FixedTableRow); } + + private _bonusInfo: BonusInfoTable; + /** SLOT_056彩虹筆#slot_056.xlsx > #bonus_info */ + public get BonusInfo(): BonusInfoTable { return this._bonusInfo = this._bonusInfo || TableManager.InitTable("#slot_056#bonus_info", BonusInfoTable, BonusInfoTableRow); } + + private _symbol: SymbolTable; + /** SLOT_056彩虹筆#slot_056.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_056#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_056彩虹筆#slot_056.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_056#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_056彩虹筆#slot_056.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_056#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_056彩虹筆#slot_056.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_056#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_056彩虹筆#slot_056.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_056#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #bonus_info + */ +export class BonusInfoTable extends TableBase {} + +export class BonusInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 倍率 */ + BonusPay: number; + /** 底色 */ + BonusColor: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot058Table.ts b/src/script/FormTable/Tables/Slot058Table.ts new file mode 100644 index 0000000..4a99261 --- /dev/null +++ b/src/script/FormTable/Tables/Slot058Table.ts @@ -0,0 +1,147 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_058鳳凰之怒#slot_058.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot058Table extends TableBase { + private _sound: SoundTable; + /** SLOT_058鳳凰之怒#slot_058.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_058#sound", SoundTable, SoundTableRow); } + + private _fixed: FixedTable; + /** SLOT_058鳳凰之怒#slot_058.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_058#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_058鳳凰之怒#slot_058.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_058#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_058鳳凰之怒#slot_058.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_058#pay", PayTable, PayTableRow); } + + private _line: LineTable; + /** SLOT_058鳳凰之怒#slot_058.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_058#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_058鳳凰之怒#slot_058.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_058#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_058鳳凰之怒#slot_058.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_058#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_058鳳凰之怒#slot_058.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_058#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot059Table.ts b/src/script/FormTable/Tables/Slot059Table.ts new file mode 100644 index 0000000..ab4444c --- /dev/null +++ b/src/script/FormTable/Tables/Slot059Table.ts @@ -0,0 +1,131 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_059多福單機版#slot_059.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot059Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_059多福單機版#slot_059.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_059#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_059多福單機版#slot_059.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_059#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_059多福單機版#slot_059.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_059#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_059多福單機版#slot_059.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_059#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_059多福單機版#slot_059.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_059#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_059多福單機版#slot_059.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_059#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_059多福單機版#slot_059.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_059#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot060Table.ts b/src/script/FormTable/Tables/Slot060Table.ts new file mode 100644 index 0000000..354d69e --- /dev/null +++ b/src/script/FormTable/Tables/Slot060Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_060無限連段#slot_060.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot060Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_060無限連段#slot_060.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_060#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_060無限連段#slot_060.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_060#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_060無限連段#slot_060.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_060#pay", PayTable, PayTableRow); } + + private _string: StringTable; + /** SLOT_060無限連段#slot_060.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#slot_060#string", StringTable, StringTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_060無限連段#slot_060.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_060#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_060無限連段#slot_060.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_060#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_060無限連段#slot_060.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_060#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot061Table.ts b/src/script/FormTable/Tables/Slot061Table.ts new file mode 100644 index 0000000..947e4d7 --- /dev/null +++ b/src/script/FormTable/Tables/Slot061Table.ts @@ -0,0 +1,145 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_061魔術方塊#slot_061.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot061Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_061魔術方塊#slot_061.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_061#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_061魔術方塊#slot_061.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_061#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_061魔術方塊#slot_061.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_061#pay", PayTable, PayTableRow); } + + private _string: StringTable; + /** SLOT_061魔術方塊#slot_061.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#slot_061#string", StringTable, StringTableRow); } + + private _line: LineTable; + /** SLOT_061魔術方塊#slot_061.xlsx > #line */ + public get Line(): LineTable { return this._line = this._line || TableManager.InitTable("#slot_061#line", LineTable, LineTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_061魔術方塊#slot_061.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_061#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_061魔術方塊#slot_061.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_061#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_061魔術方塊#slot_061.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_061#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; +} + +/** + * #line + */ +export class LineTable extends TableBase {} + +export class LineTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 線編號 */ + LineId: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot062Table.ts b/src/script/FormTable/Tables/Slot062Table.ts new file mode 100644 index 0000000..e814074 --- /dev/null +++ b/src/script/FormTable/Tables/Slot062Table.ts @@ -0,0 +1,149 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_062常勝將軍#slot_062.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot062Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_062常勝將軍#slot_062.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_062#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_062常勝將軍#slot_062.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_062#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_062常勝將軍#slot_062.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_062#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_062常勝將軍#slot_062.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_062#sound", SoundTable, SoundTableRow); } + + private _freeInfo: FreeInfoTable; + /** SLOT_062常勝將軍#slot_062.xlsx > #free_info */ + public get FreeInfo(): FreeInfoTable { return this._freeInfo = this._freeInfo || TableManager.InitTable("#slot_062#free_info", FreeInfoTable, FreeInfoTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_062常勝將軍#slot_062.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_062#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_062常勝將軍#slot_062.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_062#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_062常勝將軍#slot_062.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_062#wheel_client", WheelClientTable, WheelClientTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #free_info + */ +export class FreeInfoTable extends TableBase {} + +export class FreeInfoTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 行數 */ + Rows: number; + /** 轉數 */ + Spins: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} diff --git a/src/script/FormTable/Tables/Slot064Table.ts b/src/script/FormTable/Tables/Slot064Table.ts new file mode 100644 index 0000000..3cbd395 --- /dev/null +++ b/src/script/FormTable/Tables/Slot064Table.ts @@ -0,0 +1,133 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_064小姐姐釣大魚#slot_064.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot064Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_064小姐姐釣大魚#slot_064.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_064#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_064小姐姐釣大魚#slot_064.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_064#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_064小姐姐釣大魚#slot_064.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_064#pay", PayTable, PayTableRow); } + + private _bonus: BonusTable; + /** SLOT_064小姐姐釣大魚#slot_064.xlsx > #bonus */ + public get Bonus(): BonusTable { return this._bonus = this._bonus || TableManager.InitTable("#slot_064#bonus", BonusTable, BonusTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_064小姐姐釣大魚#slot_064.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_064#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_064小姐姐釣大魚#slot_064.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_064#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_064小姐姐釣大魚#slot_064.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_064#sound", SoundTable, SoundTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; +} + +/** + * #bonus + */ +export class BonusTable extends TableBase {} + +export class BonusTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + Bonus: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} diff --git a/src/script/FormTable/Tables/Slot1201Table.ts b/src/script/FormTable/Tables/Slot1201Table.ts new file mode 100644 index 0000000..0eeb25d --- /dev/null +++ b/src/script/FormTable/Tables/Slot1201Table.ts @@ -0,0 +1,157 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_1201三勇者#slot_1201.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot1201Table extends TableBase { + private _string: StringTable; + /** SLOT_1201三勇者#slot_1201.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#slot_1201#string", StringTable, StringTableRow); } + + private _fixed: FixedTable; + /** SLOT_1201三勇者#slot_1201.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_1201#fixed", FixedTable, FixedTableRow); } + + private _symbolBase: SymbolBaseTable; + /** SLOT_1201三勇者#slot_1201.xlsx > #symbol_base */ + public get SymbolBase(): SymbolBaseTable { return this._symbolBase = this._symbolBase || TableManager.InitTable("#slot_1201#symbol_base", SymbolBaseTable, SymbolBaseTableRow); } + + private _symbolFree: SymbolFreeTable; + /** SLOT_1201三勇者#slot_1201.xlsx > #symbol_free */ + public get SymbolFree(): SymbolFreeTable { return this._symbolFree = this._symbolFree || TableManager.InitTable("#slot_1201#symbol_free", SymbolFreeTable, SymbolFreeTableRow); } + + private _pay: PayTable; + /** SLOT_1201三勇者#slot_1201.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_1201#pay", PayTable, PayTableRow); } + + private _monster: MonsterTable; + /** SLOT_1201三勇者#slot_1201.xlsx > #monster */ + public get Monster(): MonsterTable { return this._monster = this._monster || TableManager.InitTable("#slot_1201#monster", MonsterTable, MonsterTableRow); } + + private _sound: SoundTable; + /** SLOT_1201三勇者#slot_1201.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_1201#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_1201三勇者#slot_1201.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_1201#wheel_form", WheelFormTable, WheelFormTableRow); } +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** 共用(名稱) */ + BName: string; + /** client專用(值) */ + CValue: number; + /** client專用(名稱) */ + CName: string; +} + +/** + * #symbol_base + */ +export class SymbolBaseTable extends TableBase {} + +export class SymbolBaseTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #symbol_free + */ +export class SymbolFreeTable extends TableBase {} + +export class SymbolFreeTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; + /** 賠率 */ + X5: number; + /** 賠率 */ + X6: number; + /** 賠率 */ + X7: number; + /** 賠率 */ + X8: number; +} + +/** + * #monster + */ +export class MonsterTable extends TableBase {} + +export class MonsterTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} diff --git a/src/script/FormTable/Tables/Slot1202Table.ts b/src/script/FormTable/Tables/Slot1202Table.ts new file mode 100644 index 0000000..7e41cbb --- /dev/null +++ b/src/script/FormTable/Tables/Slot1202Table.ts @@ -0,0 +1,135 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_1202迴轉壽司#slot_1202.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot1202Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_1202迴轉壽司#slot_1202.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_1202#fixed", FixedTable, FixedTableRow); } + + private _mystery: MysteryTable; + /** SLOT_1202迴轉壽司#slot_1202.xlsx > #mystery */ + public get Mystery(): MysteryTable { return this._mystery = this._mystery || TableManager.InitTable("#slot_1202#mystery", MysteryTable, MysteryTableRow); } + + private _symbol: SymbolTable; + /** SLOT_1202迴轉壽司#slot_1202.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_1202#symbol", SymbolTable, SymbolTableRow); } + + private _pay: PayTable; + /** SLOT_1202迴轉壽司#slot_1202.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_1202#pay", PayTable, PayTableRow); } + + private _symbolGroup: SymbolGroupTable; + /** SLOT_1202迴轉壽司#slot_1202.xlsx > #symbol_group */ + public get SymbolGroup(): SymbolGroupTable { return this._symbolGroup = this._symbolGroup || TableManager.InitTable("#slot_1202#symbol_group", SymbolGroupTable, SymbolGroupTableRow); } + + private _sound: SoundTable; + /** SLOT_1202迴轉壽司#slot_1202.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_1202#sound", SoundTable, SoundTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_1202迴轉壽司#slot_1202.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_1202#wheel_form", WheelFormTable, WheelFormTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #mystery + */ +export class MysteryTable extends TableBase {} + +export class MysteryTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 範圍 */ + Range: any; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + X1: number; + /** 賠率 */ + X2: number; + /** 賠率 */ + X3: number; + /** 賠率 */ + X4: number; +} + +/** + * #symbol_group + */ +export class SymbolGroupTable extends TableBase {} + +export class SymbolGroupTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖標 */ + NormalSymbol: number; + /** 圖標 */ + LevelupSymbol: number; + /** 圖標 */ + LevelmaxSymbol: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} diff --git a/src/script/FormTable/Tables/Slot1501Table.ts b/src/script/FormTable/Tables/Slot1501Table.ts new file mode 100644 index 0000000..c23bd96 --- /dev/null +++ b/src/script/FormTable/Tables/Slot1501Table.ts @@ -0,0 +1,311 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_1501柏青哥_金貓#slot_1501.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot1501Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_1501#fixed", FixedTable, FixedTableRow); } + + private _betpage: BetpageTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #betpage */ + public get Betpage(): BetpageTable { return this._betpage = this._betpage || TableManager.InitTable("#slot_1501#betpage", BetpageTable, BetpageTableRow); } + + private _nail: NailTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #nail */ + public get Nail(): NailTable { return this._nail = this._nail || TableManager.InitTable("#slot_1501#nail", NailTable, NailTableRow); } + + private _trigger: TriggerTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #trigger */ + public get Trigger(): TriggerTable { return this._trigger = this._trigger || TableManager.InitTable("#slot_1501#trigger", TriggerTable, TriggerTableRow); } + + private _wall: WallTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #wall */ + public get Wall(): WallTable { return this._wall = this._wall || TableManager.InitTable("#slot_1501#wall", WallTable, WallTableRow); } + + private _device: DeviceTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #device */ + public get Device(): DeviceTable { return this._device = this._device || TableManager.InitTable("#slot_1501#device", DeviceTable, DeviceTableRow); } + + private _symbol: SymbolTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_1501#symbol", SymbolTable, SymbolTableRow); } + + private _slotGet: SlotGetTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #slot_get */ + public get SlotGet(): SlotGetTable { return this._slotGet = this._slotGet || TableManager.InitTable("#slot_1501#slot_get", SlotGetTable, SlotGetTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_1501#wheel_form", WheelFormTable, WheelFormTableRow); } + + private _wheel: WheelTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #wheel */ + public get Wheel(): WheelTable { return this._wheel = this._wheel || TableManager.InitTable("#slot_1501#wheel", WheelTable, WheelTableRow); } + + private _wheelClient: WheelClientTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #wheel_client */ + public get WheelClient(): WheelClientTable { return this._wheelClient = this._wheelClient || TableManager.InitTable("#slot_1501#wheel_client", WheelClientTable, WheelClientTableRow); } + + private _sound: SoundTable; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_1501#sound", SoundTable, SoundTableRow); } + + private _power1: Power1Table; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #power1 */ + public get Power1(): Power1Table { return this._power1 = this._power1 || TableManager.InitTable("#slot_1501#power1", Power1Table, Power1TableRow); } + + private _power2: Power2Table; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #power2 */ + public get Power2(): Power2Table { return this._power2 = this._power2 || TableManager.InitTable("#slot_1501#power2", Power2Table, Power2TableRow); } + + private _power3: Power3Table; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #power3 */ + public get Power3(): Power3Table { return this._power3 = this._power3 || TableManager.InitTable("#slot_1501#power3", Power3Table, Power3TableRow); } + + private _power4: Power4Table; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #power4 */ + public get Power4(): Power4Table { return this._power4 = this._power4 || TableManager.InitTable("#slot_1501#power4", Power4Table, Power4TableRow); } + + private _power5: Power5Table; + /** SLOT_1501柏青哥_金貓#slot_1501.xlsx > #power5 */ + public get Power5(): Power5Table { return this._power5 = this._power5 || TableManager.InitTable("#slot_1501#power5", Power5Table, Power5TableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #betpage + */ +export class BetpageTable extends TableBase {} + +export class BetpageTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 最低金額 */ + Wallet: number; + /** 最小階級 */ + BetrankMini: number; + /** 最大階級 */ + BetrankMax: number; + /** 預設階級 */ + BetrankPreset: number; +} + +/** + * #nail + */ +export class NailTable extends TableBase {} + +export class NailTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 座標半徑 */ + Coordinate: any; +} + +/** + * #trigger + */ +export class TriggerTable extends TableBase {} + +export class TriggerTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 形狀 */ + Type: number; + /** 座標 */ + Coordinate: any; + /** 半徑 */ + Radius: any; +} + +/** + * #wall + */ +export class WallTable extends TableBase {} + +export class WallTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 座標 */ + Coordinate: any; +} + +/** + * #device + */ +export class DeviceTable extends TableBase {} + +export class DeviceTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖形類型 */ + Type: number; + /** 模式 */ + Mod: number; + /** 索引 */ + Keyname: number; + /** 座標 */ + Coordinate: any; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 圖檔索引 */ + PicIndex: number; + /** 重複位移 */ + SameShift: number; +} + +/** + * #slot_get + */ +export class SlotGetTable extends TableBase {} + +export class SlotGetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 進珠上限 */ + BallLimit: number; + /** 增加珠數 */ + BallAdd: number; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel + */ +export class WheelTable extends TableBase {} + +export class WheelTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #wheel_client + */ +export class WheelClientTable extends TableBase {} + +export class WheelClientTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 輪軸列表 */ + SymbolList: any; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #power1 + */ +export class Power1Table extends TableBase {} + +export class Power1TableRow implements ITableRow { + /** 實際力量 */ + Id: number; + /** 洞口編號 */ + Type: string; + /** 路徑資料 */ + Path: any; +} + +/** + * #power2 + */ +export class Power2Table extends TableBase {} + +export class Power2TableRow implements ITableRow { + /** 實際力量 */ + Id: number; + /** 洞口編號 */ + Type: string; + /** 路徑資料 */ + Path: any; +} + +/** + * #power3 + */ +export class Power3Table extends TableBase {} + +export class Power3TableRow implements ITableRow { + /** 實際力量 */ + Id: number; + /** 洞口編號 */ + Type: string; + /** 路徑資料 */ + Path: any; +} + +/** + * #power4 + */ +export class Power4Table extends TableBase {} + +export class Power4TableRow implements ITableRow { + /** 實際力量 */ + Id: number; + /** 洞口編號 */ + Type: string; + /** 路徑資料 */ + Path: any; +} + +/** + * #power5 + */ +export class Power5Table extends TableBase {} + +export class Power5TableRow implements ITableRow { + /** 實際力量 */ + Id: number; + /** 洞口編號 */ + Type: string; + /** 路徑資料 */ + Path: any; +} diff --git a/src/script/FormTable/Tables/Slot1701Table.ts b/src/script/FormTable/Tables/Slot1701Table.ts new file mode 100644 index 0000000..750e076 --- /dev/null +++ b/src/script/FormTable/Tables/Slot1701Table.ts @@ -0,0 +1,129 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * SLOT_1701一錘千金#slot_1701.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Slot1701Table extends TableBase { + private _fixed: FixedTable; + /** SLOT_1701一錘千金#slot_1701.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#slot_1701#fixed", FixedTable, FixedTableRow); } + + private _symbol: SymbolTable; + /** SLOT_1701一錘千金#slot_1701.xlsx > #symbol */ + public get Symbol(): SymbolTable { return this._symbol = this._symbol || TableManager.InitTable("#slot_1701#symbol", SymbolTable, SymbolTableRow); } + + private _destiny: DestinyTable; + /** SLOT_1701一錘千金#slot_1701.xlsx > #destiny */ + public get Destiny(): DestinyTable { return this._destiny = this._destiny || TableManager.InitTable("#slot_1701#destiny", DestinyTable, DestinyTableRow); } + + private _pay: PayTable; + /** SLOT_1701一錘千金#slot_1701.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#slot_1701#pay", PayTable, PayTableRow); } + + private _sound: SoundTable; + /** SLOT_1701一錘千金#slot_1701.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#slot_1701#sound", SoundTable, SoundTableRow); } + + private _string: StringTable; + /** SLOT_1701一錘千金#slot_1701.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#slot_1701#string", StringTable, StringTableRow); } + + private _wheelForm: WheelFormTable; + /** SLOT_1701一錘千金#slot_1701.xlsx > #wheel_form */ + public get WheelForm(): WheelFormTable { return this._wheelForm = this._wheelForm || TableManager.InitTable("#slot_1701#wheel_form", WheelFormTable, WheelFormTableRow); } +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #symbol + */ +export class SymbolTable extends TableBase {} + +export class SymbolTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 0-1階碎裂%數 */ + CValue1: number; + /** 1-2階碎裂%數 */ + CValue2: number; + /** 2-3階碎裂%數 */ + CValue3: number; + /** 3-4階碎裂%數 */ + CValue4: number; +} + +/** + * #destiny + */ +export class DestinyTable extends TableBase {} + +export class DestinyTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置(預設音檔位置) */ + PathZnTw: string; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; +} + +/** + * #wheel_form + */ +export class WheelFormTable extends TableBase {} + +export class WheelFormTableRow implements ITableRow { + /** 編號 */ + Id: number; +} diff --git a/src/script/FormTable/Tables/SlotsetTable.ts b/src/script/FormTable/Tables/SlotsetTable.ts new file mode 100644 index 0000000..0aa6d8a --- /dev/null +++ b/src/script/FormTable/Tables/SlotsetTable.ts @@ -0,0 +1,32 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 機台設定#slotset.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class SlotsetTable extends TableBase {} + +export class SlotsetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 直橫樣式 */ + Pl: number; + /** 繁體名稱 */ + NameTw: string; + /** 簡體名稱 */ + NameCn: string; + /** 英文名稱 */ + NameEn: string; + /** 前端設定擋名稱 */ + NameSetting: string; + /** 檔名 */ + FormName: any; + /** 判斷滾分 */ + Roll: number; + /** 版號 */ + Version: number; + /** 網站 */ + Web: number; +} diff --git a/src/script/FormTable/Tables/SoundTable.ts b/src/script/FormTable/Tables/SoundTable.ts new file mode 100644 index 0000000..755d01e --- /dev/null +++ b/src/script/FormTable/Tables/SoundTable.ts @@ -0,0 +1,22 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_音效表#sound.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; + /** 版號 */ + Version: string; +} diff --git a/src/script/FormTable/Tables/StringTable.ts b/src/script/FormTable/Tables/StringTable.ts new file mode 100644 index 0000000..29b9a9a --- /dev/null +++ b/src/script/FormTable/Tables/StringTable.ts @@ -0,0 +1,40 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 共用_字串表#string.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class StringTable extends TableBase { + private _stringFilter: StringFilterTable; + /** 共用_字串表#string.xlsx > #string_filter */ + public get StringFilter(): StringFilterTable { return this._stringFilter = this._stringFilter || TableManager.InitTable("#string#string_filter", StringFilterTable, StringFilterTableRow); } +} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #string_filter + */ +export class StringFilterTable extends TableBase {} + +export class StringFilterTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 過濾字串 */ + FilterWord: string; +} diff --git a/src/script/FormTable/Tables/Super6BaccaratTable.ts b/src/script/FormTable/Tables/Super6BaccaratTable.ts new file mode 100644 index 0000000..037debb --- /dev/null +++ b/src/script/FormTable/Tables/Super6BaccaratTable.ts @@ -0,0 +1,151 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 遊藝館_超六百家樂#super6_baccarat.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Super6BaccaratTable extends TableBase { + private _bet: BetTable; + /** 遊藝館_超六百家樂#super6_baccarat.xlsx > #bet */ + public get Bet(): BetTable { return this._bet = this._bet || TableManager.InitTable("#super6_baccarat#bet", BetTable, BetTableRow); } + + private _fixed: FixedTable; + /** 遊藝館_超六百家樂#super6_baccarat.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#super6_baccarat#fixed", FixedTable, FixedTableRow); } + + private _drawRule: DrawRuleTable; + /** 遊藝館_超六百家樂#super6_baccarat.xlsx > #draw_rule */ + public get DrawRule(): DrawRuleTable { return this._drawRule = this._drawRule || TableManager.InitTable("#super6_baccarat#draw_rule", DrawRuleTable, DrawRuleTableRow); } + + private _paytable: PaytableTable; + /** 遊藝館_超六百家樂#super6_baccarat.xlsx > #paytable */ + public get Paytable(): PaytableTable { return this._paytable = this._paytable || TableManager.InitTable("#super6_baccarat#paytable", PaytableTable, PaytableTableRow); } + + private _string: StringTable; + /** 遊藝館_超六百家樂#super6_baccarat.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#super6_baccarat#string", StringTable, StringTableRow); } + + private _sound: SoundTable; + /** 遊藝館_超六百家樂#super6_baccarat.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#super6_baccarat#sound", SoundTable, SoundTableRow); } +} + +/** + * #bet + */ +export class BetTable extends TableBase {} + +export class BetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 顯示 */ + Show: any; + /** 莊 */ + Type1: any; + /** 閒 */ + Type2: any; + /** 和 */ + Type3: any; + /** 莊對 */ + Type4: any; + /** 閒對 */ + Type5: any; + /** 三寶 */ + Type6: any; + /** 超六 */ + Type7: any; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #draw_rule + */ +export class DrawRuleTable extends TableBase {} + +export class DrawRuleTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 是否搏牌 */ + P0: number; + /** 是否搏牌 */ + P1: number; + /** 是否搏牌 */ + P2: number; + /** 是否搏牌 */ + P3: number; + /** 是否搏牌 */ + P4: number; + /** 是否搏牌 */ + P5: number; + /** 是否搏牌 */ + P6: number; + /** 是否搏牌 */ + P7: number; + /** 是否搏牌 */ + P8: number; + /** 是否搏牌 */ + P9: number; +} + +/** + * #paytable + */ +export class PaytableTable extends TableBase {} + +export class PaytableTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + PayNormal: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文訊息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} diff --git a/src/script/FormTable/Tables/Table3031Table.ts b/src/script/FormTable/Tables/Table3031Table.ts new file mode 100644 index 0000000..5c43a38 --- /dev/null +++ b/src/script/FormTable/Tables/Table3031Table.ts @@ -0,0 +1,155 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 遊藝館_色碟#table3031.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class Table3031Table extends TableBase { + private _bet: BetTable; + /** 遊藝館_色碟#table3031.xlsx > #bet */ + public get Bet(): BetTable { return this._bet = this._bet || TableManager.InitTable("#table3031#bet", BetTable, BetTableRow); } + + private _fixed: FixedTable; + /** 遊藝館_色碟#table3031.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#table3031#fixed", FixedTable, FixedTableRow); } + + private _pay: PayTable; + /** 遊藝館_色碟#table3031.xlsx > #pay */ + public get Pay(): PayTable { return this._pay = this._pay || TableManager.InitTable("#table3031#pay", PayTable, PayTableRow); } + + private _paytable: PaytableTable; + /** 遊藝館_色碟#table3031.xlsx > #paytable */ + public get Paytable(): PaytableTable { return this._paytable = this._paytable || TableManager.InitTable("#table3031#paytable", PaytableTable, PaytableTableRow); } + + private _string: StringTable; + /** 遊藝館_色碟#table3031.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#table3031#string", StringTable, StringTableRow); } + + private _sound: SoundTable; + /** 遊藝館_色碟#table3031.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#table3031#sound", SoundTable, SoundTableRow); } +} + +/** + * #bet + */ +export class BetTable extends TableBase {} + +export class BetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 顯示 */ + Show: any; + /** 大小 */ + Type1: any; + /** 單雙 */ + Type2: any; + /** 紅40 */ + Type3: any; + /** 紅31 */ + Type4: any; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #pay + */ +export class PayTable extends TableBase {} + +export class PayTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 大 */ + Big: number; + /** 小 */ + Small: number; + /** 單 */ + Odd: number; + /** 雙 */ + Even: number; + /** 4紅 */ + Red4: number; + /** 3紅 */ + Red3: number; + /** 1紅 */ + Red1: number; + /** 0紅 */ + Red0: number; +} + +/** + * #paytable + */ +export class PaytableTable extends TableBase {} + +export class PaytableTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 大 */ + Big: number; + /** 小 */ + Small: number; + /** 單 */ + Odd: number; + /** 雙 */ + Even: number; + /** 4紅 */ + Red4: number; + /** 3紅 */ + Red3: number; + /** 1紅 */ + Red1: number; + /** 0紅 */ + Red0: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文訊息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} diff --git a/src/script/FormTable/Tables/TripleBaccaratTable.ts b/src/script/FormTable/Tables/TripleBaccaratTable.ts new file mode 100644 index 0000000..ed8e99b --- /dev/null +++ b/src/script/FormTable/Tables/TripleBaccaratTable.ts @@ -0,0 +1,149 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 遊藝館_三寶百家樂#triple_baccarat.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class TripleBaccaratTable extends TableBase { + private _bet: BetTable; + /** 遊藝館_三寶百家樂#triple_baccarat.xlsx > #bet */ + public get Bet(): BetTable { return this._bet = this._bet || TableManager.InitTable("#triple_baccarat#bet", BetTable, BetTableRow); } + + private _fixed: FixedTable; + /** 遊藝館_三寶百家樂#triple_baccarat.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#triple_baccarat#fixed", FixedTable, FixedTableRow); } + + private _drawRule: DrawRuleTable; + /** 遊藝館_三寶百家樂#triple_baccarat.xlsx > #draw_rule */ + public get DrawRule(): DrawRuleTable { return this._drawRule = this._drawRule || TableManager.InitTable("#triple_baccarat#draw_rule", DrawRuleTable, DrawRuleTableRow); } + + private _paytable: PaytableTable; + /** 遊藝館_三寶百家樂#triple_baccarat.xlsx > #paytable */ + public get Paytable(): PaytableTable { return this._paytable = this._paytable || TableManager.InitTable("#triple_baccarat#paytable", PaytableTable, PaytableTableRow); } + + private _string: StringTable; + /** 遊藝館_三寶百家樂#triple_baccarat.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#triple_baccarat#string", StringTable, StringTableRow); } + + private _sound: SoundTable; + /** 遊藝館_三寶百家樂#triple_baccarat.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#triple_baccarat#sound", SoundTable, SoundTableRow); } +} + +/** + * #bet + */ +export class BetTable extends TableBase {} + +export class BetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 顯示 */ + Show: any; + /** 莊 */ + Type1: any; + /** 閒 */ + Type2: any; + /** 和 */ + Type3: any; + /** 莊對 */ + Type4: any; + /** 閒對 */ + Type5: any; + /** 三寶 */ + Type6: any; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 共用(值) */ + BValue: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #draw_rule + */ +export class DrawRuleTable extends TableBase {} + +export class DrawRuleTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 是否搏牌 */ + P0: number; + /** 是否搏牌 */ + P1: number; + /** 是否搏牌 */ + P2: number; + /** 是否搏牌 */ + P3: number; + /** 是否搏牌 */ + P4: number; + /** 是否搏牌 */ + P5: number; + /** 是否搏牌 */ + P6: number; + /** 是否搏牌 */ + P7: number; + /** 是否搏牌 */ + P8: number; + /** 是否搏牌 */ + P9: number; +} + +/** + * #paytable + */ +export class PaytableTable extends TableBase {} + +export class PaytableTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + PayNormal: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文訊息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} diff --git a/src/script/FormTable/Tables/TwoSicboTable.ts b/src/script/FormTable/Tables/TwoSicboTable.ts new file mode 100644 index 0000000..e2d44ea --- /dev/null +++ b/src/script/FormTable/Tables/TwoSicboTable.ts @@ -0,0 +1,139 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 遊藝館_雙星骰寶#two_sicbo.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class TwoSicboTable extends TableBase { + private _bet: BetTable; + /** 遊藝館_雙星骰寶#two_sicbo.xlsx > #bet */ + public get Bet(): BetTable { return this._bet = this._bet || TableManager.InitTable("#two_sicbo#bet", BetTable, BetTableRow); } + + private _fixed: FixedTable; + /** 遊藝館_雙星骰寶#two_sicbo.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#two_sicbo#fixed", FixedTable, FixedTableRow); } + + private _paytable: PaytableTable; + /** 遊藝館_雙星骰寶#two_sicbo.xlsx > #paytable */ + public get Paytable(): PaytableTable { return this._paytable = this._paytable || TableManager.InitTable("#two_sicbo#paytable", PaytableTable, PaytableTableRow); } + + private _string: StringTable; + /** 遊藝館_雙星骰寶#two_sicbo.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#two_sicbo#string", StringTable, StringTableRow); } + + private _sound: SoundTable; + /** 遊藝館_雙星骰寶#two_sicbo.xlsx > #sound */ + public get Sound(): SoundTable { return this._sound = this._sound || TableManager.InitTable("#two_sicbo#sound", SoundTable, SoundTableRow); } +} + +/** + * #bet + */ +export class BetTable extends TableBase {} + +export class BetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 顯示 */ + Show: any; + /** 大小 */ + Type1: any; + /** 骰子1~6 */ + Type2: any; + /** 全圍骰 */ + Type3: any; + /** 圍骰1~6 */ + Type4: any; + /** 點數4 */ + Type5: any; + /** 點數5 */ + Type6: any; + /** 點數6 */ + Type7: any; + /** 點數7 */ + Type8: any; + /** 點數8 */ + Type9: any; + /** 點數9 */ + Type10: any; + /** 點數10 */ + Type11: any; + /** 點數11 */ + Type12: any; + /** 點數12 */ + Type13: any; + /** 點數13 */ + Type14: any; + /** 點數14 */ + Type15: any; + /** 點數15 */ + Type16: any; + /** 點數16 */ + Type17: any; + /** 點數17 */ + Type18: any; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 值 */ + Value: number; + /** client專用(值) */ + CValue: number; +} + +/** + * #paytable + */ +export class PaytableTable extends TableBase {} + +export class PaytableTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 賠率 */ + PayNormal: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 编号 */ + Id: number; + /** 英文讯息 */ + MsgEn: string; + /** 繁体中文讯息 */ + MsgZnTw: string; + /** 简体中文讯息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #sound + */ +export class SoundTable extends TableBase {} + +export class SoundTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 音效=1, 音樂 = 2 */ + Type: number; + /** 繁體中文音檔位置 */ + PathZnTw: string; + /** 英文音檔位置(預設音檔位置) */ + PathEn: string; +} diff --git a/src/script/FormTable/Tables/VipTable.ts b/src/script/FormTable/Tables/VipTable.ts new file mode 100644 index 0000000..3298985 --- /dev/null +++ b/src/script/FormTable/Tables/VipTable.ts @@ -0,0 +1,149 @@ +import { ITableRow, WithoutRow } from "../../Engine/CatanEngine/TableV3/Core/ITableRow"; +import { TableBase } from "../../Engine/CatanEngine/TableV3/Core/TableBase"; +import { TableManager } from "../../Engine/CatanEngine/TableV3/TableManager"; + +/** + * 系統_VIP#vip.xlsx + * ##程式碼由工具產生, 在此做的修改都將被覆蓋## + */ +export class VipTable extends TableBase { + private _vipSet: VipSetTable; + /** 系統_VIP#vip.xlsx > #vip_set */ + public get VipSet(): VipSetTable { return this._vipSet = this._vipSet || TableManager.InitTable("#vip#vip_set", VipSetTable, VipSetTableRow); } + + private _vipSlot: VipSlotTable; + /** 系統_VIP#vip.xlsx > #vip_slot */ + public get VipSlot(): VipSlotTable { return this._vipSlot = this._vipSlot || TableManager.InitTable("#vip#vip_slot", VipSlotTable, VipSlotTableRow); } + + private _fixed: FixedTable; + /** 系統_VIP#vip.xlsx > #fixed */ + public get Fixed(): FixedTable { return this._fixed = this._fixed || TableManager.InitTable("#vip#fixed", FixedTable, FixedTableRow); } + + private _string: StringTable; + /** 系統_VIP#vip.xlsx > #string */ + public get String(): StringTable { return this._string = this._string || TableManager.InitTable("#vip#string", StringTable, StringTableRow); } + + private _ruleMsgZnTw: RuleMsgZnTwTable; + /** 系統_VIP#vip.xlsx > #rule_msg_zn_tw */ + public get RuleMsgZnTw(): RuleMsgZnTwTable { return this._ruleMsgZnTw = this._ruleMsgZnTw || TableManager.InitTable("#vip#rule_msg_zn_tw", RuleMsgZnTwTable, RuleMsgZnTwTableRow); } +} + +/** + * #vip_set + */ +export class VipSetTable extends TableBase {} + +export class VipSetTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 兩個月內累積儲值 */ + Money: number; + /** 兩個月內累積押注 */ + Bet: number; + /** 單日送禮額度 */ + GiftLimit: number; + /** 接受贈禮 */ + GiftOn: number; + /** 常用名單 */ + Friendlist: number; + /** SLOT 廳館解鎖 */ + LobbySlot: any; + /** 牌桌類 廳館解鎖 */ + LobbyCard: any; + /** 捕魚機 廳館解鎖 */ + LobbyFish: any; + /** 小鋼珠 廳館解鎖 */ + LobbyPachinko: any; + /** SLOT 機台保留 */ + SlotLock: number; + /** 會員期限 */ + Time: number; + /** 發財金 */ + Gold: any; + /** 私聊 */ + Talk: number; + /** 賓果卡欄位數量 */ + Bingo: number; + /** 五星彩卡欄位數量 */ + Five: number; +} + +/** + * #vip_slot + */ +export class VipSlotTable extends TableBase {} + +export class VipSlotTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 經驗獲取 */ + Levelup: number; +} + +/** + * #fixed + */ +export class FixedTable extends TableBase {} + +export class FixedTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 參數 */ + Value: number; +} + +/** + * #string + */ +export class StringTable extends TableBase {} + +export class StringTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 英文訊息 */ + MsgEn: string; + /** 繁體中文訊息 */ + MsgZnTw: string; + /** 簡體中文讯息 */ + MsgZnCh: string; + /** 越南文讯息 */ + MsgVi: string; + /** 泰文讯息 */ + MsgTh: string; +} + +/** + * #rule_msg_zn_tw + */ +export class RuleMsgZnTwTable extends TableBase {} + +export class RuleMsgZnTwTableRow implements ITableRow { + /** 編號 */ + Id: number; + /** 兩個月內累積儲值 */ + Money: string; + /** 兩個月內累積押注 */ + Bet: string; + /** 單日送禮額度 */ + GiftLimit: string; + /** 接受贈禮 */ + GiftOn: string; + /** 常用名單 */ + Friendlist: string; + /** SLOT廳館解鎖 */ + LobbySlot: string; + /** 牌桌類廳館解鎖 */ + LobbyCard: string; + /** 捕魚機廳館解鎖 */ + LobbyFish: string; + /** 小鋼珠廳館解鎖 */ + LobbyPachinko: string; + /** SLOT 機台保留 */ + SlotLock: string; + /** 會員期限 */ + Time: string; + /** 發財金 */ + Gold: string; + /** 私聊 */ + Talk: string; +} diff --git a/進度表.txt b/進度表.txt new file mode 100644 index 0000000..7f6de97 --- /dev/null +++ b/進度表.txt @@ -0,0 +1,8 @@ +1. 讀表 +2. 達到轉次停止 +3. 達到倍數停止 +4. 自動入桌選擇沒人玩的 +5. 沒錢變顏色 +6. 自動帶入帳號登入 +7. 自動設定全部行為 +8. 多個模板 \ No newline at end of file