Stratkit Premium Account¶
Contains utility classes for handling premium accounts.
Usage¶
// Get a reference to the utils system
PremiumAccountUtilsSystem utils = SystemAPI.GetSingleton<PremiumAccountUtilsSystem>();
// Get the premium account status for the current user
PremiumAccountStatus status = utils.IsPremiumAccount();
// Check if the player Entity has a premium account
// Useful for foreign players
bool hasPremiumAccount = utils.HasActivePremiumAccount(playerEntity);