CMyProfile.cpp 26 KB

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