CCustomTextEntry.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // CCustomTextEntry - [2020-04-13 11:57:46]
  2. #ifndef _CCUSTOMTEXTENTRY_H_
  3. #define _CCUSTOMTEXTENTRY_H_
  4. #include "common.h"
  5. /*
  6. 00221034 CCustomTextEntry::CCustomTextEntry()
  7. 00221074 CCustomTextEntry::CCustomTextEntry(CCustomTextEntry const&)
  8. 002210E6 CCustomTextEntry::~CCustomTextEntry()
  9. 00220F68 CCustomTextEntry::IsValid()
  10. 00220F6C CCustomTextEntry::GetTextID()
  11. 00220F70 CCustomTextEntry::GetString(ELangType)
  12. 00221022 CCustomTextEntry::operator=(CCustomTextEntry const&)
  13. 00221080 CCustomTextEntry::CopyMembers(CCustomTextEntry const&)
  14. 00221122 CCustomTextEntry::SetTextEntry(CFTTLangDatabase *,char const*,ELangType)
  15. 0xC
  16. */
  17. class CFTTLangDatabase;
  18. enum ELangType {
  19. ELangType_ERR = -1,
  20. ELangType_0 = 0,
  21. ELangType_1 = 1,
  22. ELangType_2 = 2,
  23. ELangType_3 = 3,
  24. ELangType_4 = 4,
  25. ELangType_5 = 5,
  26. ELangType_6 = 6,
  27. };
  28. struct WStringArray {
  29. wchar_t *list_0[14];
  30. };
  31. class CCustomTextEntry {
  32. public:
  33. CCustomTextEntry(); // 00221034
  34. CCustomTextEntry(CCustomTextEntry const &); // 00221074
  35. ~CCustomTextEntry(); // 002210E6
  36. bool IsValid(); // 00220F68
  37. int GetTextID(); // 00220F6C
  38. wchar_t *GetString(ELangType); // 00220F70
  39. CCustomTextEntry &operator=(CCustomTextEntry const &); // 00221022
  40. void CopyMembers(CCustomTextEntry const &); // 00221080
  41. int SetTextEntry(CFTTLangDatabase *other,
  42. char const *pStr,
  43. ELangType eType); // 00221122
  44. WStringArray *string_list_0;
  45. int dTextId_4;
  46. bool bValid_8;
  47. };
  48. #endif //_CCUSTOMTEXTENTRY_H_