How to Access PlayerState in Tick in C++

How do you access the PlayerState from the Tick and BeginPlay in C++?

I’m moving Tick code from Blueprints into C++ and some things seem like they aren’t available. I get an error that can’t access “this”, so this->PlayerState from a Static Function isn’t available.

It’s a PlayerController subclass.

I don’t know why this wasn’t working. I backed out changes and put them back in incrementally and there is access to PlayerState in the PlayerController tick function.