C_PlayerInfo
namespaceavailable in: camelotStatus in wowlua
40 functions: 1 implemented, 4 recorded, 35 guessed.
Functions
| function | what it does | status |
|---|---|---|
CanPlayerEnterChromieTime | Returns true if the player is eligible to enter a timewalking campaign.(): boolean | guessed |
CanPlayerUseAreaLoot | Returns true if the player can use area looting.(): boolean | guessed |
CanPlayerUseMountEquipment | Returns true if the player can use mount equipment.(): (boolean, string) | guessed |
CanUseItem | Whether the player can use the given item. · by wowlua(itemID: number): boolean | guessed |
GUIDIsPlayer | Returns true if the GUID belongs to a player.(guid: string): boolean | guessed |
GetAlternateFormInfo | Returns if the player has an alternate form and if they are currently in that form.(): (boolean, boolean) | recorded |
GetClass | Returns the class of a player.(playerLocation: PlayerLocationMixin): (string?, string?, number?) | guessed |
GetContentDifficultyCreatureForPlayer | Returns info indicating how much difficulty the player may have if fighting a given unit.(unitToken: string): RelativeContentDifficulty | guessed |
GetContentDifficultyQuestForPlayer | Returns info indicating how much difficulty the player may have when performing a given quest.(questID: number): RelativeContentDifficulty | implemented |
GetDisplayID | Returns the display ID of the player's current model. · by wowlua(): number | guessed |
GetGlidingInfo | Returns the Dragonriding gliding speed.(): (boolean, boolean, number) | guessed |
GetInstancesUnlockedAtLevel | Returns the instances that become available at the given level, or nil when there are none. · by wowlua(level: number, isRaid: boolean): number[]? | guessed |
GetName | Returns the name of a player.(playerLocation: PlayerLocationMixin): string? | guessed |
GetNativeDisplayID | Returns the display ID of the player's own race model, ignoring shapeshifts and disguises. · by wowlua(): number | guessed |
GetPetStableCreatureDisplayInfoID | Returns the creature display ID of a pet in the stable. · by wowlua(index: number): number | guessed |
GetPlayerCharacterData | Returns basic data about the player's character, or nil when it is not available. · by wowlua(): PlayerInfoCharacterData? | guessed |
GetPlayerMythicPlusRatingSummary | Returns the players mythic+ rating summary which includes the runs they've completed as well as their current season m+ rating(playerToken: string): MythicPlusRatingSummary? | guessed |
GetRace | Returns the race of a player.(playerLocation: PlayerLocationMixin): number? | guessed |
GetSex | Returns the sex of a player.(playerLocation: PlayerLocationMixin): UnitSex? | guessed |
HasAccountInventoryLock | Whether the account's inventory is locked. · by wowlua(): boolean | guessed |
HasVisibleInvSlot | Whether the given equipment slot is visible on the player's model. · by wowlua(slot: number): boolean | guessed |
IsAccountBankEnabled | Whether the Warband bank is enabled. · by wowlua(): boolean | guessed |
IsCharacterBankEnabled | Whether the character's bank is enabled. · by wowlua(): boolean | guessed |
IsConnected | Returns true if the player is connected.(playerLocation: PlayerLocationMixin?): boolean? | guessed |
IsDisplayRaceNative | Whether the player's model shows the character's own race rather than an alternate form. · by wowlua(): boolean | guessed |
IsExpansionLandingPageUnlockedForPlayer | Whether the player has unlocked the given expansion's landing page. · by wowlua(expansionID: number): boolean | guessed |
IsMirrorImage | Whether the player is a mirror image. · by wowlua(): boolean | guessed |
IsPlayerEligibleForNPE | Returns true if the player is eligible for the legacy new player experience tutorial, or false and a reason string if not.(): (boolean, string) | guessed |
IsPlayerEligibleForNPEv2 | Returns true if the player is eligible for the updated new player experience tutorial, or false and a reasons string if not.(): (boolean, string) | guessed |
IsPlayerInChromieTime | Returns true if the player is actively within a Timewalking Campaign (Chromie Time).(): boolean | guessed |
IsPlayerInRPE | Whether the player is in the Rapid Progression Experience. · by wowlua(): boolean | recorded |
IsPlayerInTimerunningHeroicWorldTier | Whether the player is a timerunner on the heroic world tier. · by wowlua(): boolean | guessed |
IsPlayerNPERestricted | Returns true if the player has new player experience restrictions in place.(): boolean | recorded |
IsReturningCharacter | Whether the character counts as returning after a long break. · by wowlua(): boolean | guessed |
IsSelfFoundActive | Whether the character is in Self-Found mode. · by wowlua(): boolean | guessed |
IsTradingPostAvailable | Whether the player can use the Trading Post. · by wowlua(): boolean | guessed |
IsTravelersLogAvailable | Whether the player can use the Traveler's Log. · by wowlua(): boolean | guessed |
IsTutorialsTabAvailable | Whether the tutorials tab is available to the player. · by wowlua(): boolean | guessed |
ShouldDisplaySurname | Whether the character's surname should be shown. · by wowlua(): boolean | recorded |
UnitIsSameServer | Returns true if a player is from the same or connected realm.(playerLocation: PlayerLocationMixin): boolean | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Structures
MythicPlusRatingMapSummary· challengeModeID, mapScore, bestRunLevel, bestRunDurationMS, finishedSuccessMythicPlusRatingSummary· currentSeasonScore, runs
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (2 systems, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.