//
// Created by 86185 on 2021/6/1.
//

#ifndef MY_APPLICATION_TSTORYSEASON_H
#define MY_APPLICATION_TSTORYSEASON_H
#include "global_func.h"
#include "TPhoto.h"
#include "CFTTVector32.h"
#include "CMatchSetup.h"
#include "GFXBALL.h"

class TVideoAd {
public:
  int LinkedStage_0;
  TPoint Map_4;
  float Rot_c;
};

class TStage {
public:
  int ID_0;
  int Version_4;
  TPoint MapPos_8;
  float LineCurve_10;
  int TournamentType_14;
  int Venue_18;
  int Extra_1C;
  char UnlockDate_20[0x10];
  int UnlockSeconds_30;
};

// sizeof = 0x158
struct TStickerInfo {
  int LinkedStage_0;
  int PhotoStage_4;
  int RewardCredits_8;

  char CaptionText_c[0x40];
  TPoint MapPos_4c;
  float Scale_54;
  float Rot_58;
  TStoryPhoto tStoryPhoto_5C;
#if 0
  TStickerInfo &operator=(const TStickerInfo &other) {
    memcpy(this, &other, 0x4C);
    if ( this!=&other )
    {
      MapPos_4c = other.MapPos_4c;
    }
    memcpy(&Scale_54, &other.Scale_54, 0x104);
    return *this;
  };
#endif
};

class TStorySeason {
public:
  TStorySeason();

public:
  int SeasonID_0;
  int Stars_4;
  char Text_8[64];
  char EndText_48[64];
  char CompleteText_88[64];
  int GrassCol_c8;
  int GrassStyle_cc;
  int StageCount_d0;
  TStage TStage_d4[32];
  int Sticker_Count_754;
  TStickerInfo field_758[5];
  int field_e10;
  TVideoAd field_e14[5];
  bool SeasonEnabled_e64;
  char field_e65;
  char field_e66;
  char field_e67;
  int ActiveFromStage_e68;
  uint BtnCol_e6c;
  int EntryCost_e70;
  bool National_e74;
  char field_e75;
  char field_e76;
  char field_e77;
  int SecondsVisibleBefore_e78;
  char DateStart_e7c[0x10];
  int DateStartSeconds_e8c;
  char DateEnd_e90[0x10];
  int DateEndSeconds_ea0;
  char ActiveDateEnd_ea4[0x10];
  int ActiveDateEndSeconds_eb4;
  char Name_ea8[0x20];
  char Type_ed8[0x20];
  char UnlockText_ef8[0x20];
  char OpeningNIS_f18[0x80];
  int Comm_f98;
  char Trophy_f9c[0x40];
  int Diamond_fdc[5];
  bool AlternateMusic_ff0;
  char field_ff1;
  char field_ff2;
  char field_ff3;
  int NumOppoLeagues_ff4;
  int Leagues_ff8[5];
};

/// 0x870
#endif  // MY_APPLICATION_TSTORYSEASON_H
