//CCustomTextEntry - [2020-04-13 11:57:46]
#ifndef _CCUSTOMTEXTENTRY_H_
#define _CCUSTOMTEXTENTRY_H_

#include "common.h"

/*
00221034 CCustomTextEntry::CCustomTextEntry()
00221074 CCustomTextEntry::CCustomTextEntry(CCustomTextEntry const&)
002210E6 CCustomTextEntry::~CCustomTextEntry()
00220F68 CCustomTextEntry::IsValid()
00220F6C CCustomTextEntry::GetTextID()
00220F70 CCustomTextEntry::GetString(ELangType)
00221022 CCustomTextEntry::operator=(CCustomTextEntry const&)
00221080 CCustomTextEntry::CopyMembers(CCustomTextEntry const&)
00221122 CCustomTextEntry::SetTextEntry(CFTTLangDatabase *,char const*,ELangType)

0xC
*/

class CFTTLangDatabase;

enum ELangType {
  ELangType_ERR = -1,
  ELangType_0 = 0,
  ELangType_1 = 1,
  ELangType_2 = 2,
  ELangType_3 = 3,
  ELangType_4 = 4,
  ELangType_5 = 5,
  ELangType_6 = 6,
};

struct WStringArray {
  wchar_t *list_0[14];
};

class CCustomTextEntry {
public:
  CCustomTextEntry();                                     //00221034
  CCustomTextEntry(CCustomTextEntry const &);             //00221074
  ~CCustomTextEntry();                                    //002210E6
  bool IsValid();                                         //00220F68
  int GetTextID();                                        //00220F6C
  wchar_t *GetString(ELangType);                          //00220F70
  CCustomTextEntry &operator=(CCustomTextEntry const &);  //00221022
  void CopyMembers(CCustomTextEntry const &);             //00221080
  int SetTextEntry(CFTTLangDatabase *other,
                   char const *pStr,
                   ELangType eType);  //00221122

  WStringArray *string_list_0;
  int dTextId_4;
  bool bValid_8;
};

#endif  //_CCUSTOMTEXTENTRY_H_