Global Variables via Game State: error

Actually, question is more about C++ then engine itself. I’m trying to handle global variables storage in custom AGameStateBase class. I defined custom class using

GameStateClass = AGameStateBaseCustom::StaticClass();

Then I’ve tried to read public int32 info declared in AGameStateBaseCustom and show it through HUD.
How can I access this custom class member? I assumed that

FString Text = FString::FromInt(GetWorld()->GetGameState()->info);

will work, but it obviously didn’t, because AGameStateBase doesn’t have info variable.