//TFTTCacheBucket - [2020-04-13 11:57:46]
#ifndef _TFTTCACHEBUCKET_H_
#define _TFTTCACHEBUCKET_H_

#include "FTTMutex.h"
#include "TFTTCacheLookup.h"

struct TFTTCacheKeyValue {
  TFTTCacheLookup tCacheLookup_0;
  int field_8;
  int field_C;
};
//-------------------------------------------------------------------------------------------------
/*
0020FFC4 TFTTCacheBucket::TFTTCacheBucket()
0020FFF6 TFTTCacheBucket::TFTTCacheBucket(uchar)
00210038 TFTTCacheBucket::~TFTTCacheBucket()
0021004E TFTTCacheBucket::Add(TFTTCacheKeyValue)
0021009A TFTTCacheBucket::Get(TFTTCacheLookup , TFTTCacheKeyValue &)
0021010C TFTTCacheBucket::Reset()
*/

class TFTTCacheBucket {
public:
  TFTTCacheBucket();                              //0020FFC4
  TFTTCacheBucket(uchar);                         //0020FFF6
  ~TFTTCacheBucket();                             //00210038
  bool Add(TFTTCacheKeyValue);                    //0021004E
  bool Get(TFTTCacheLookup, TFTTCacheKeyValue&);  //0021009A
  void Reset();                                   //0021010C

  FTTMutex mutex_0;
  TFTTCacheKeyValue* pl_CacheKeyValue_24;
  volatile char uyUseCount_28;
  uchar uyUount_29;
  uchar byte_2A;
  uchar byte_2B;
};
//-------------------------------------------------------------------------------------------------

#endif  //_TFTTCACHEBUCKET_H_