getState
Returns how much of the resourceId the player has, or null if the player doesn't have the resource or their data isn't loaded.
Returns how much of the resourceId the player has, or null if the player doesn't have the resource or their data isn't loaded.