CMyProfile.cpp 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697
  1. #include "CMyProfile.h"
  2. #include "CStoryCore.h"
  3. #include "CFTTSaveFile.h"
  4. #include "CFE.h"
  5. #include "CStoryProfileStages.h"
  6. #include "CFTTServerTime.h"
  7. #include "CFTTTime.h"
  8. #include "TStoryConfig.h"
  9. #include "CUnlockables.h"
  10. #include "CMessageBoxHandler.h"
  11. #include "CFESLevelSelect.h"
  12. #include "str_conv.h"
  13. #include "memctrl.h"
  14. bool CMyProfile::ms_bLoading;
  15. ESaveMode g_eSaveMode;
  16. TStoryConfig STY_tConfig;
  17. MYSTATIC struct CFTTSaveFileProjectSettings G_Profiles = {
  18. "DOCS:profile.dat",
  19. "DOCS:profiletemp.dat",
  20. "DOCS:profile_cld_u.dat",
  21. "DOCS:profile_cld_d.dat",
  22. "DOCS:profile_cld_dc.dat",
  23. "StoryUser",
  24. "Profile",
  25. "HeroRecord",
  26. 5,
  27. 0x39,
  28. 1,
  29. 0xf36ec841,
  30. 0xec16cac0,
  31. 0x8ad62178,
  32. 0xbf1096d8};
  33. CMyProfile MP_cMyProfile;
  34. //-------------------------------------------------------------------------------------------------
  35. //001CCC00 //^_^
  36. TProfileData::TProfileData() {
  37. // m_ProfileStats = new CProfileStats();
  38. // m_CGameSettings_2b80 = new CGameSettings();
  39. }
  40. //-------------------------------------------------------------------------------------------------
  41. //001CCC24 //^_^
  42. TProfileData::~TProfileData() {
  43. // delete m_ProfileStats;
  44. // delete m_CGameSettings_2b80;
  45. }
  46. //-------------------------------------------------------------------------------------------------
  47. //001CC950 //^_^
  48. void TProfileData::Serialize(CFTTSerialize &pSerialize) {
  49. }
  50. //-------------------------------------------------------------------------------------------------
  51. //001CC2E4 //^_^
  52. void TProfileDataCloud::Serialize(CFTTSerialize &pSerialize) {
  53. return;
  54. }
  55. //-------------------------------------------------------------------------------------------------
  56. //001CCBB4 //^_^
  57. CMyProfile::CMyProfile() {
  58. }
  59. //-------------------------------------------------------------------------------------------------
  60. //001CCC14
  61. CMyProfile::~CMyProfile() {
  62. }
  63. //-------------------------------------------------------------------------------------------------
  64. //0011977C //^_^
  65. void CMyProfile::SetInstallSourceTracker(const char *val) {
  66. }
  67. //-------------------------------------------------------------------------------------------------
  68. //00119788 //^_^
  69. void CMyProfile::SetInstallSourceCampaign(char const *val) {
  70. }
  71. //-------------------------------------------------------------------------------------------------
  72. //0012C8AC //^_^
  73. void CMyProfile::SetAllowLevelSelectVideoAds(bool val) {
  74. }
  75. //-------------------------------------------------------------------------------------------------
  76. //0012CA3C //^_^
  77. void CMyProfile::SetStageClubTeam(int val1, int val2) {
  78. }
  79. //-------------------------------------------------------------------------------------------------
  80. //00131D60 //^_^
  81. int CMyProfile::GetPossibleStartingClubs(int val1, int *val2, int val3) {
  82. return 0;
  83. }
  84. //-------------------------------------------------------------------------------------------------
  85. //00131D6C //^_^
  86. int CMyProfile::GetPossibleNewClubs(int val1, bool val2, int val3, int *val4, int val5, ELeague val6, bool val7, bool val8) {
  87. return 0;
  88. }
  89. //-------------------------------------------------------------------------------------------------
  90. //00152D88 //^_^
  91. void CMyProfile::EnergyIncrease(int val1, bool val2) {
  92. }
  93. //-------------------------------------------------------------------------------------------------
  94. //00153B40 //^_^
  95. void CMyProfile::UpdateTermsOfServiceID(int val1) {
  96. }
  97. //-------------------------------------------------------------------------------------------------
  98. //001CCC3A //^_^
  99. void CMyProfile::Shutdown() {
  100. }
  101. //-------------------------------------------------------------------------------------------------
  102. //001CCC60 //^_^
  103. CStoryProfileStages *CMyProfile::GetProfileStages() {
  104. return NULL;
  105. }
  106. //-------------------------------------------------------------------------------------------------
  107. //001CCC80 //^_^
  108. void CMyProfile::InitialiseSaveFiles() {
  109. }
  110. //-------------------------------------------------------------------------------------------------
  111. //001CCCB4 //^_~
  112. int CMyProfile::DoLoadOnBoot(bool &val1) {
  113. return 0;
  114. }
  115. //-------------------------------------------------------------------------------------------------
  116. //001CCDC0 //^_^
  117. void CMyProfile::SetIsSideStory(bool val1, bool val2) {
  118. }
  119. //-------------------------------------------------------------------------------------------------
  120. //001CCE94 //^_^
  121. int CMyProfile::LoadDiskData() {
  122. int result = 0;
  123. return result;
  124. }
  125. //-------------------------------------------------------------------------------------------------
  126. //001CD040
  127. void CMyProfile::LoadCloudDataWithVersion(bool, bool) {
  128. }
  129. //-------------------------------------------------------------------------------------------------
  130. //001CD09C
  131. void CMyProfile::LoadCloudData(bool) {
  132. }
  133. //-------------------------------------------------------------------------------------------------
  134. //001CD238 //^_^
  135. void CMyProfile::SetAllDefaults() {
  136. // EUserABTest v3;
  137. }
  138. //-------------------------------------------------------------------------------------------------
  139. //001CD42C //^_^
  140. void CMyProfile::LoadLocalData() {
  141. }
  142. //-------------------------------------------------------------------------------------------------
  143. //001CD442 //^_^
  144. void CMyProfile::ReInitialiseSideStory(int br0) {
  145. }
  146. //-------------------------------------------------------------------------------------------------
  147. //001CD454
  148. void CMyProfile::UpdateFacebookAchievements() {
  149. }
  150. //-------------------------------------------------------------------------------------------------
  151. //001CD480
  152. void CMyProfile::FacebookLoginCompleteWithAnalytics(int, wchar_t *) {
  153. }
  154. //-------------------------------------------------------------------------------------------------
  155. //001CD484
  156. void CMyProfile::FacebookLoginComplete(int, wchar_t *) {
  157. }
  158. //-------------------------------------------------------------------------------------------------
  159. //001CD508
  160. void CMyProfile::FacebookLoginCompleteWithReward(int, wchar_t *) {
  161. }
  162. //-------------------------------------------------------------------------------------------------
  163. //001CD544
  164. void CMyProfile::FacebookGetFriendsComplete(int) {
  165. }
  166. //-------------------------------------------------------------------------------------------------
  167. //001CD55C //^_^
  168. void CMyProfile::AttemptSave(ESaveMode dr0) {
  169. g_eSaveMode = dr0;
  170. }
  171. //-------------------------------------------------------------------------------------------------
  172. //001CD570 //^_^ 这个函数只有开启堆栈保护, 才能编译出来和原始程序一样
  173. void CMyProfile::Stage460Fix() {
  174. }
  175. //-------------------------------------------------------------------------------------------------
  176. //001CD644 //^_^
  177. int CMyProfile::GetStagesComplete(int dr0) {
  178. return GetProfileStages()->GetStagesComplete(dr0);
  179. }
  180. //-------------------------------------------------------------------------------------------------
  181. //001CD656 //^_^
  182. int CMyProfile::GetHaveChangedTeamOnStage(int dr0) {
  183. return pCStoryProfile->GetHaveChangedTeamOnStage(dr0);
  184. }
  185. //-------------------------------------------------------------------------------------------------
  186. //001CD660 //^_^
  187. void CMyProfile::SetPostStageOperation(TStageOperation aTStageOperation) {
  188. }
  189. //-------------------------------------------------------------------------------------------------
  190. //001CD694 //^_^
  191. int CMyProfile::GetGameVersionFromProfile() {
  192. return 0;
  193. }
  194. //-------------------------------------------------------------------------------------------------
  195. //001CD6F0 //^_^
  196. void CMyProfile::SetLargestPurchase(int dr1) {
  197. }
  198. //-------------------------------------------------------------------------------------------------
  199. //001CD6FA //^_^
  200. void CMyProfile::IncrementNumberOfPurchases() {
  201. }
  202. //-------------------------------------------------------------------------------------------------
  203. //001CD706 //^_^
  204. void CMyProfile::SetFirstStagePurchase(int dr1) {
  205. }
  206. //-------------------------------------------------------------------------------------------------
  207. //001CD710 //^_^
  208. void CMyProfile::ResetSidePolaroidDates() {
  209. }
  210. //-------------------------------------------------------------------------------------------------
  211. //001CD728 //^_^
  212. void CMyProfile::ResetMainPolaroidDates() {
  213. }
  214. //-------------------------------------------------------------------------------------------------
  215. //001CD740
  216. void CMyProfile::UpdateCB(int, void *) {
  217. //不太有用的函数
  218. }
  219. //-------------------------------------------------------------------------------------------------
  220. //001CD758
  221. void CMyProfile::SetFacebookToken(char *, int) {
  222. //不太有用的函数
  223. }
  224. //-------------------------------------------------------------------------------------------------
  225. //001CD75E
  226. void CMyProfile::CloudDelete(void (*)(int)) {
  227. //不太有用的函数
  228. }
  229. //-------------------------------------------------------------------------------------------------
  230. //001CD768
  231. void CMyProfile::ShouldDoCloudSave() {
  232. //不太有用的函数
  233. }
  234. //-------------------------------------------------------------------------------------------------
  235. //001CD7E0 //^_^
  236. int CMyProfile::GetStagesStars(int dr1) {
  237. CStoryProfileStages *v3 = GetProfileStages();
  238. return v3->GetStagesStars(dr1);
  239. }
  240. //-------------------------------------------------------------------------------------------------
  241. //001CD7F4 //^_^
  242. void CMyProfile::AddCloudSaveRecord() {
  243. //不太有用的函数
  244. }
  245. //-------------------------------------------------------------------------------------------------
  246. //001CD854 //^_^
  247. void CMyProfile::UpdateSaveLoadTime() {
  248. }
  249. //-------------------------------------------------------------------------------------------------
  250. //001CD870 //^_^
  251. void CMyProfile::CheckSave() {
  252. }
  253. //-------------------------------------------------------------------------------------------------
  254. //001CD890 //???该函数因为有部分逻辑是保存到云服务上, 所以跳过了部分代码。 很难做到完全一样
  255. int CMyProfile::Save(ESaveMode bESaveModer0) {
  256. return 0;
  257. }
  258. //-------------------------------------------------------------------------------------------------
  259. //001CDAA0 //^_^
  260. void CMyProfile::UnlockSeason(int val1, bool val2, bool val3) {
  261. }
  262. //-------------------------------------------------------------------------------------------------
  263. //001CDAC2 //^_^
  264. void CMyProfile::ResetAllFeats() {
  265. }
  266. //-------------------------------------------------------------------------------------------------
  267. //001CDAD0 //^_^
  268. void CMyProfile::ResetNotificationRewards() {
  269. }
  270. //-------------------------------------------------------------------------------------------------
  271. //001CDAEC //^_^
  272. TStageOperation CMyProfile::GetPostStageOperation() {
  273. TStageOperation TStageOperationr0;
  274. return TStageOperationr0;
  275. }
  276. //-------------------------------------------------------------------------------------------------
  277. //001CDB10 //^_^
  278. void CMyProfile::ClearPostStageOperation() {
  279. }
  280. //-------------------------------------------------------------------------------------------------
  281. //001CDB30 //^_^
  282. void CMyProfile::SetTutorialMessageShown(int dr1, bool br2) {
  283. }
  284. //-------------------------------------------------------------------------------------------------
  285. //001CDB52 //^_^
  286. int CMyProfile::GetSeasonComplete(int dr1) {
  287. return 0;
  288. }
  289. //-------------------------------------------------------------------------------------------------
  290. //001CDB64 //^_^
  291. void CMyProfile::IncStageAttempts(int dr1) {
  292. }
  293. //-------------------------------------------------------------------------------------------------
  294. //001CDB76 //^_^
  295. int CMyProfile::GetStageComplete(int dr1) {
  296. return 0;
  297. }
  298. //-------------------------------------------------------------------------------------------------
  299. //001CDB90 //^_^
  300. int CMyProfile::GetStageNumber(int dar1) {
  301. return 0;
  302. }
  303. //-------------------------------------------------------------------------------------------------
  304. //001CDBFC //^_^
  305. int CMyProfile::GetStageStars(int dr1) {
  306. return 0;
  307. }
  308. //-------------------------------------------------------------------------------------------------
  309. //001CDC0E //^_^
  310. int CMyProfile::GetStageScore(int dr1) {
  311. return 0;
  312. }
  313. //-------------------------------------------------------------------------------------------------
  314. //001CDC20 //^_^
  315. int CMyProfile::GetStageAttempts(int dr1) {
  316. return 0;
  317. }
  318. //-------------------------------------------------------------------------------------------------
  319. //001CDC32 //^_^
  320. int CMyProfile::CountPacksWithAllStars() {
  321. return 0;
  322. }
  323. //-------------------------------------------------------------------------------------------------
  324. //001CDC40 //^_^
  325. void CMyProfile::SetRatedGameVersion(int dr1) {
  326. }
  327. //-------------------------------------------------------------------------------------------------
  328. //001CDC64 //^_^
  329. void CMyProfile::SetSkinColour(int dr1) {
  330. }
  331. //-------------------------------------------------------------------------------------------------
  332. //001CDC74 //^_^
  333. uchar CMyProfile::GetSkinColour() {
  334. return 0;
  335. }
  336. //-------------------------------------------------------------------------------------------------
  337. //001CDC84 //^_^
  338. void CMyProfile::SetHeadType(int dr1) {
  339. }
  340. //-------------------------------------------------------------------------------------------------
  341. //001CDC94 //^_^
  342. uchar CMyProfile::GetHeadType() {
  343. return 0;
  344. }
  345. //-------------------------------------------------------------------------------------------------
  346. //001CDCA4 //^_^
  347. void CMyProfile::SetHairColour(int dr1) {
  348. }
  349. //-------------------------------------------------------------------------------------------------
  350. //001CDCB4 //^_^
  351. uchar CMyProfile::GetHairColour() {
  352. return 0;
  353. }
  354. //-------------------------------------------------------------------------------------------------
  355. //001CDCC4 //^_^
  356. void CMyProfile::SetHairStyle(int dr1) {
  357. }
  358. //-------------------------------------------------------------------------------------------------
  359. //001CDCD4 //^_^
  360. uchar CMyProfile::GetHairStyle() {
  361. return 0;
  362. }
  363. //-------------------------------------------------------------------------------------------------
  364. //001CDCE4 //^_^
  365. void CMyProfile::SetFacialHair(int dr1) {
  366. }
  367. //-------------------------------------------------------------------------------------------------
  368. //001CDCF4 //^_^
  369. uchar CMyProfile::GetFacialHair() {
  370. return 0;
  371. }
  372. //-------------------------------------------------------------------------------------------------
  373. //001CDD04 //^_^
  374. void CMyProfile::SetBootColour(int dr1) {
  375. }
  376. //-------------------------------------------------------------------------------------------------
  377. //001CDD14 //^_^
  378. uchar CMyProfile::GetBootColour() {
  379. return 0;
  380. }
  381. //-------------------------------------------------------------------------------------------------
  382. //001CDD24 //^_^
  383. void CMyProfile::SetBodyType(int dr1) {
  384. }
  385. //-------------------------------------------------------------------------------------------------
  386. //001CDD5C //^_^
  387. uchar CMyProfile::GetBodyType() {
  388. return 0;
  389. }
  390. //-------------------------------------------------------------------------------------------------
  391. //001CDD90 //^_^
  392. void CMyProfile::SetShirtLength(int dr1) {
  393. }
  394. //-------------------------------------------------------------------------------------------------
  395. //001CDDC8 //^_^
  396. uchar CMyProfile::GetShirtLength() {
  397. return 0;
  398. }
  399. //-------------------------------------------------------------------------------------------------
  400. //001CDDFC //^_^
  401. void CMyProfile::SetShirtNumber(int dr1) {
  402. }
  403. //-------------------------------------------------------------------------------------------------
  404. //001CDE0C //^_^
  405. uchar CMyProfile::GetShirtNumber() {
  406. return 0;
  407. }
  408. //-------------------------------------------------------------------------------------------------
  409. //001CDE1C //^_^
  410. void CMyProfile::SetPlayerName(wchar_t const *pWBufr1) {
  411. }
  412. //-------------------------------------------------------------------------------------------------
  413. //001CDE30 //^_^
  414. wchar_t const *CMyProfile::GetPlayerName() {
  415. LOGE("GetPlayerName");
  416. return (wchar_t*)rand();
  417. }
  418. //-------------------------------------------------------------------------------------------------
  419. //001CDE40 //^_^
  420. void CMyProfile::SetPlayerInitialised() {
  421. }
  422. //-------------------------------------------------------------------------------------------------
  423. //001CDE58 //^_^
  424. bool CMyProfile::GetPlayerInitialised() {
  425. return 0;
  426. }
  427. //-------------------------------------------------------------------------------------------------
  428. //001CDE68 //^_^
  429. void CMyProfile::SetHaveAskedToRate() {
  430. }
  431. //-------------------------------------------------------------------------------------------------
  432. //001CDE88 //???这个函数和原始代码汇编少一个PUSH POP
  433. void CMyProfile::CheckRestoreEnergy() {
  434. }
  435. //-------------------------------------------------------------------------------------------------
  436. //001CDEB4 //^_^
  437. void CMyProfile::FoundEasterEgg(int dr1) {
  438. }
  439. //-------------------------------------------------------------------------------------------------
  440. //001CDEF0 //^_^
  441. int CMyProfile::EasterEggAlreadyFound(int dr1) {
  442. return 1;
  443. }
  444. //-------------------------------------------------------------------------------------------------
  445. //001CDF0E //^_^
  446. void CMyProfile::SetStartUpMessageViewedID(int dr1) {
  447. }
  448. //-------------------------------------------------------------------------------------------------
  449. //001CDF14 //^_^
  450. int CMyProfile::GetAreGettingMoreStars() {
  451. return 0;
  452. }
  453. //-------------------------------------------------------------------------------------------------
  454. //001CDF24 //^_^
  455. void CMyProfile::SetAreGettingMoreStars(bool br1) {
  456. }
  457. //-------------------------------------------------------------------------------------------------
  458. //001CDF34 //^_^
  459. int CMyProfile::GetTotalNumberOfStars() {
  460. return 0;
  461. }
  462. //-------------------------------------------------------------------------------------------------
  463. //001CDF3C //^_^
  464. int CMyProfile::GetEffectiveStarsPurchased() {
  465. return 0;
  466. }
  467. //-------------------------------------------------------------------------------------------------
  468. //001CDF58 //^_^
  469. void CMyProfile::AddEffectiveStarsPurchased(int dr1) {
  470. }
  471. //-------------------------------------------------------------------------------------------------
  472. //001CDF74 //^_^
  473. int CMyProfile::GetSeasonUnlockStars(int dr1) {
  474. return 0;
  475. }
  476. //-------------------------------------------------------------------------------------------------
  477. //001CDFE4 //^_^
  478. int CMyProfile::GetSeasonUnlockCost(int dr1) {
  479. return -1;
  480. }
  481. //-------------------------------------------------------------------------------------------------
  482. //001CE050 //^_^
  483. int CMyProfile::IsSeasonUnlocked(int dr1) {
  484. return 0;
  485. }
  486. //-------------------------------------------------------------------------------------------------
  487. //001CE062 //^_^
  488. int CMyProfile::IsSeasonComplete(int dr1) {
  489. return 0;
  490. }
  491. //-------------------------------------------------------------------------------------------------
  492. //001CE074 //^_^
  493. void CMyProfile::SetNotificationRewards() {
  494. }
  495. //-------------------------------------------------------------------------------------------------
  496. //001CE076 //^_^
  497. void CMyProfile::SetupSideStory() {
  498. }
  499. //-------------------------------------------------------------------------------------------------
  500. //001CE094 //^_^
  501. void CMyProfile::SetSideStoryComplete(bool br1) {
  502. }
  503. //-------------------------------------------------------------------------------------------------
  504. //001CE0AC //^_^
  505. int CMyProfile::GetActiveSideStoryID() {
  506. return 0;
  507. }
  508. //-------------------------------------------------------------------------------------------------
  509. //001CE0CC //^_^
  510. void CMyProfile::SetNationalTeam(int dr1) {
  511. }
  512. //-------------------------------------------------------------------------------------------------
  513. //001CE0F8 //^_^
  514. uint16 CMyProfile::GetNationalTeam() {
  515. return 0;
  516. }
  517. //-------------------------------------------------------------------------------------------------
  518. //001CE108
  519. void CMyProfile::CheckNotificationRewards() {
  520. }
  521. //-------------------------------------------------------------------------------------------------
  522. //001CE10A
  523. void CMyProfile::HaveSetRewardNotifications() {
  524. }
  525. //-------------------------------------------------------------------------------------------------
  526. //001CE10E //^_^
  527. void CMyProfile::RewardForNotification(int dr1) {
  528. }
  529. //-------------------------------------------------------------------------------------------------
  530. //001CE138 //^_^
  531. void CMyProfile::NeedToCheckNotifications() {
  532. return;
  533. }
  534. //-------------------------------------------------------------------------------------------------
  535. //001CE16C 没啥用的函数跳过
  536. int CMyProfile::CalculateAndCheckNotificationRewards() {
  537. return 0;
  538. }
  539. //-------------------------------------------------------------------------------------------------
  540. //001CE2B8
  541. bool CMyProfile::GetAllowLevelSelectVideoAds() {
  542. return 0;
  543. }
  544. //-------------------------------------------------------------------------------------------------
  545. //001CE2C6 //^_^
  546. void CMyProfile::ResetUnlimitedEnergy() {
  547. }
  548. //-------------------------------------------------------------------------------------------------
  549. //001CE2EE //^_^
  550. bool CMyProfile::HaveUnlimitedEnergy() {
  551. bool bret; // r5
  552. return true;
  553. }
  554. //-------------------------------------------------------------------------------------------------
  555. //001CE350 //^_^
  556. void CMyProfile::SetEndOfUnlimitedEnergyTime() {
  557. }
  558. //-------------------------------------------------------------------------------------------------
  559. //001CE3A0 //^_^
  560. void CMyProfile::EnergyUse(int dr1) {
  561. }
  562. //-------------------------------------------------------------------------------------------------
  563. //001CE3B4 //^_^
  564. long CMyProfile::GetSizeOfProfile() {
  565. return 0;
  566. }
  567. //-------------------------------------------------------------------------------------------------
  568. //001CE3C8 //??? 编译出汇编不一样
  569. void CMyProfile::SetFeatComplete(int dr1, bool br2) {
  570. }
  571. //-------------------------------------------------------------------------------------------------
  572. //001CE408 //^_^
  573. int CMyProfile::IsUserCheat() {
  574. return 0;
  575. }
  576. //-------------------------------------------------------------------------------------------------
  577. //001CE40C //^_^
  578. int CMyProfile::GetUserType() {
  579. return 0;
  580. }
  581. //-------------------------------------------------------------------------------------------------
  582. //001CE470 //^_^
  583. void CMyProfile::SetAllowCloud(bool br1) {
  584. }
  585. //-------------------------------------------------------------------------------------------------
  586. //001CE478 //^_^
  587. bool CMyProfile::GetFeatComplete(int dr1) {
  588. return 0;
  589. }
  590. //-------------------------------------------------------------------------------------------------
  591. //001CE480
  592. //???这个函数似乎和广告相关 ,先不实现
  593. void CMyProfile::EnergyMessageCB(int, void *) {
  594. }
  595. //-------------------------------------------------------------------------------------------------
  596. //001CE63C
  597. //???内购, 跳过
  598. void CMyProfile::BuyEnergyCallback(int, void *) {
  599. }
  600. //-------------------------------------------------------------------------------------------------
  601. //001CE648
  602. //???和内购相关, 先跳过
  603. void CMyProfile::DisplayEnergyMessage() {
  604. }
  605. //-------------------------------------------------------------------------------------------------
  606. //001CE79C //^_^
  607. uint CMyProfile::GetConfigFileCreditReimburseID() {
  608. return 0;
  609. }
  610. //-------------------------------------------------------------------------------------------------
  611. //001CE7A0 //^_^
  612. void CMyProfile::SetConfigFileCreditReimburseID(int dr1) {
  613. }
  614. //-------------------------------------------------------------------------------------------------
  615. //001CE7A4 //^_^
  616. PolaroidDate *CMyProfile::GetPolaroidDate(int dr1) {
  617. return 0;
  618. }
  619. //-------------------------------------------------------------------------------------------------
  620. //001CE7B8 //^_^
  621. void CMyProfile::SetPolaroidDate(int dr1, uchar cr2, uchar cr3) {
  622. }
  623. //-------------------------------------------------------------------------------------------------
  624. //001CE7D8 //内购促销,跳过
  625. int CMyProfile::GetPromotionPurchase(int) {
  626. return 0;
  627. }
  628. //-------------------------------------------------------------------------------------------------
  629. //001CE7FA //内购促销,跳过
  630. int CMyProfile::HaveActiveTriggeredPromotion() {
  631. return 0;
  632. }
  633. //-------------------------------------------------------------------------------------------------
  634. //001CE82E //内购促销,跳过
  635. void CMyProfile::AddPromotionPurchase(int) {
  636. }
  637. //-------------------------------------------------------------------------------------------------
  638. //001CE85A //内购促销,跳过
  639. int CMyProfile::SetupPromotionPurchase(int) {
  640. return 0;
  641. }
  642. //-------------------------------------------------------------------------------------------------
  643. //001CE8FA //内购促销,跳过
  644. int CMyProfile::AnotherTriggeredPromotionShowingOrBlocking(int) {
  645. return 0;
  646. }
  647. //-------------------------------------------------------------------------------------------------
  648. //001CE934 //^_^
  649. bool CMyProfile::IsSideStoryInitialised() {
  650. return CSideStoryProfile::m_tData.field_0;
  651. }
  652. //-------------------------------------------------------------------------------------------------
  653. //001CE944 //^_^
  654. bool CMyProfile::HaveCompletedSideQuest() {
  655. return m_TProfileDataCloud.field_470[0];
  656. }
  657. //-------------------------------------------------------------------------------------------------
  658. //001CE94A //^_^
  659. int CMyProfile::GetNumMedals(EMedal_Type dr1) {
  660. return m_TProfileDataCloud.NumMedals_480[dr1];
  661. }
  662. //-------------------------------------------------------------------------------------------------
  663. //001CE954 //^_^
  664. void CMyProfile::IncrementMedalType(EMedal_Type dr1, int) {
  665. ++m_TProfileDataCloud.NumMedals_480[dr1];
  666. }
  667. //-------------------------------------------------------------------------------------------------
  668. //001CE9E0 //^_^
  669. void CMyProfile::DecrementMedalType(EMedal_Type dr1) {
  670. --m_TProfileDataCloud.NumMedals_480[dr1];
  671. }
  672. //-------------------------------------------------------------------------------------------------
  673. //001CEA28 //升级相关, 跳过
  674. int CMyProfile::ShowUpdateMessageBox() {
  675. return 0;
  676. }
  677. //-------------------------------------------------------------------------------------------------
  678. //001CEA7C //应该用不到, 先放着
  679. void CMyProfile::ResetProfile() {
  680. }
  681. //-------------------------------------------------------------------------------------------------
  682. //001CECD8 //上传日志到AWS, 跳过
  683. void CMyProfile::SetupPushNotifications() {
  684. }
  685. //-------------------------------------------------------------------------------------------------
  686. //001D898C //^_^
  687. void CMyProfile::UseRewind() {
  688. pCStoryProfile->UseRewind();
  689. }
  690. //-------------------------------------------------------------------------------------------------