TStoryConfig.h 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. //
  2. // Created by 86185 on 2021/5/8.
  3. //
  4. #ifndef _TSTORYCONFIG_H_
  5. #define _TSTORYCONFIG_H_
  6. #include "global_func.h"
  7. struct TGoldenBootPack {
  8. int num;
  9. int Cost;
  10. };
  11. struct TPromoText {
  12. int id;
  13. char text[0x100];
  14. };
  15. struct TTrig {
  16. int Type;
  17. int Param;
  18. };
  19. // 0x3A0
  20. struct TPromo {
  21. bool Enabled_b50;
  22. int ID_b54;
  23. long DateStart_b58;
  24. long EDateEnd_b5c;
  25. int Depend_b60;
  26. int Users_b64;
  27. char IapID_b68[0x20];
  28. int ProductIndex_b88;
  29. int Start_b8c;
  30. int StageIncrement_b90;
  31. int MinsIncrement_b94;
  32. int End_b98;
  33. bool InSideStory_b9c;
  34. int PerDay_ba0;
  35. int Bux_ba4;
  36. int MaxBux_ba8;
  37. char Energy_bac;
  38. int PurchaseMax_bb0;
  39. char Shop_bb4;
  40. char Boot_bb5;
  41. int Savings_BB8;
  42. struct TPromoText TitleText_BBc;
  43. struct TPromoText DescText_CC0;
  44. struct TPromoText PackText_DC4;
  45. int DisplayTime_ec8;
  46. int BlockTime_ecc;
  47. struct TTrig TrigList_ed0[4];
  48. };
  49. // 0xC
  50. struct TEEListRecord {
  51. int ID;
  52. float name;
  53. int Credits;
  54. };
  55. // 0x38
  56. struct TAdvertisingUserType {
  57. int VideoInitialFE_63BC;
  58. int VideoInitialInGame_63c0;
  59. int VideoRepeatFE_63c4;
  60. int VideoRepeatInGame_63c8;
  61. int FullScreenInitial_63cc;
  62. int FullScreenRepeat_63D0;
  63. char LevelSelectVideos_63D4;
  64. int IntroduceVideoEnergy_63D8;
  65. int IntroduceVideoShop_63DC;
  66. int IntroduceVideoPostStage_63e0;
  67. int IntroduceVideoInGame_63e4;
  68. int IntroduceFullPage_63e8;
  69. int IntroduceBanner_63ec;
  70. bool LevelsRefresh_63f0;
  71. };
  72. // 69b4
  73. struct TStoryConfig {
  74. bool v1_0;
  75. int Version_4;
  76. int ConfigFileRefreshTime_8;
  77. int ConfigFileRefreshTime_c;
  78. int SessionSignInLength_10;
  79. int ReplayCamera_14;
  80. char CameraName_18[32][32];
  81. struct TPoint3D CameraPos_418[32];
  82. char DisableSPC_598;
  83. int FirstPurchasePercent_59C;
  84. int Start_5a0;
  85. int VideoClipCurrency_5a4;
  86. int VideoClipEnergy_5a8;
  87. int filed_5ac;
  88. int filed_5b0;
  89. int filed_5b4;
  90. bool filed_5b8;
  91. int SocialLogin_5bc;
  92. int SocialLink_5c0;
  93. int SocialPost_5c4;
  94. int RewindCosts_5c8[10];
  95. int UnlockMultiple_5F0;
  96. int SeasonUnlockMaxClamp_5F4;
  97. int SeasonUnlockMinClamp_5F8;
  98. int CareerReset_5fc;
  99. int EnergyRestoreAmount_600;
  100. int EnergyRestoreTime_604;
  101. int EnergyFailCost_608;
  102. int EnergyRestoreCredits_60c;
  103. int FreeRewind_610;
  104. int GoldenBootsPackCount_614;
  105. struct TGoldenBootPack *GoldenBootPackList_618;
  106. char IapID_61c[5][256];
  107. int Amount_B1C[5];
  108. int BestValue_b30;
  109. int MostPopular_b34;
  110. char Amountstart_b38[5];
  111. char filed_b3d[3];
  112. int ToLow_b40;
  113. int ToHigh_b44;
  114. int ToFreeLTS_ToFreeLTNS_b48;
  115. bool isToFreeLTS_b4c;
  116. struct TPromo PromoNodeList_b50[20];
  117. char UnlimitedIapID_53D0[256];
  118. int Unlimited_54D0;
  119. int PlayerCustomisationNumber_54D4[5][64];
  120. int PlayerCustomisationNumberCount_59D4[5];
  121. int PlayerCustomisationShirtNumbers_59E8[64];
  122. int InitRangeStart_5AE8;
  123. int InitRangeEnd_5AEC;
  124. int ShirtOrderPos_5AF0[40];
  125. bool ShowEventsBeforeActiveStage_5b90;
  126. char StartupMessageText_5b91[2047];
  127. int filed_6390;
  128. int StartupMessageID_6394;
  129. int filed_6398;
  130. int DownloadListStages_639c;
  131. int DownloadListAdBoards_63A0;
  132. int DownloadListAdText_63A4;
  133. int filed_63a8;
  134. int filed_63ac;
  135. int filed_63b0;
  136. int filed_63b4;
  137. int filed_63b8;
  138. struct TAdvertisingUserType AdvertisingUserTypeList_63BC[7];
  139. float RadiusScale_6544;
  140. char Reveal_6548;
  141. char filed_6549;
  142. char filed_654a;
  143. char filed_654b;
  144. int filed_654c;
  145. int filed_6550;
  146. bool FBLogin_6554;
  147. char FBScores_6555;
  148. char FBLink_6556[128];
  149. bool TWFollow_65D6;
  150. char FBAPI_65D7[8];
  151. int CrossPromotionText_65e0;
  152. char CrossPromotionImage_65E4[128];
  153. char CrossPromotionLink_6664[128];
  154. int CrossPromotionShow_66e4;
  155. int CrossPromotionStage_66e8;
  156. int CrossPromotionUsers_66ec;
  157. int CrossPromotionStart_66f0;
  158. int CrossPromotionEnd_66f4;
  159. char CrossPromotionPackageName_66F8[128];
  160. bool IsSeasonUnlocked_6778;
  161. bool Update_6779;
  162. char filed_677a;
  163. char filed_677b;
  164. struct TEEListRecord EEListRecordc_677c[3];
  165. char CCustomTextInfo_67a0;
  166. char IAPValidate_67a1;
  167. int EDTest_67a4;
  168. int Housekeeping_67a8;
  169. char DiamondMedal_67ac;
  170. char ObsidianMedal_67ad;
  171. bool GoogleCloud_67ae;
  172. char GfxOptHelp_67AF[512];
  173. int TOSID_69b0;
  174. };
  175. extern TStoryConfig STY_tConfig;
  176. #endif //_TSTORYCONFIG_H_