NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
Player information can also be queried with[PlayerLocation](https://wow.gamepedia.com/World_of_Warcraft_API#Mixin)objects. [C\_PlayerInfo.GetClass](https://wow.gamepedia.com/API_C_PlayerInfo.GetClass "API C PlayerInfo.GetClass")(playerLocation) - Returns the class of a player. [C\_PlayerInfo.GetName](https://wow.gamepedia.com/API_C_PlayerInfo.GetName "API C PlayerInfo.GetName")(playerLocation) - Returns the name of a player. [C\_PlayerInfo.GetRace](https://wow.gamepedia.com/API_C_PlayerInfo.GetRace "API C PlayerInfo.GetRace")(playerLocation) - Returns the race of a player. [C\_PlayerInfo.GetSex](https://wow.gamepedia.com/API_C_PlayerInfo.GetSex "API C PlayerInfo.GetSex")(playerLocation) - Returns the sex of a player. [C\_PlayerInfo.GUIDIsPlayer](https://wow.gamepedia.com/API_C_PlayerInfo.GUIDIsPlayer "API C PlayerInfo.GUIDIsPlayer")("guid") - Returns true if the guid belongs to a player. [C\_PlayerInfo.IsConnected](https://wow.gamepedia.com/API_C_PlayerInfo.IsConnected "API C PlayerInfo.IsConnected")(\[playerLocation\]) - Returns true if a player is connected. [C\_PlayerInfo.UnitIsSameServer](https://wow.gamepedia.com/API_C_PlayerInfo.UnitIsSameServer "API C PlayerInfo.UnitIsSameServer")(playerLocation) - Returns true if another player is from your own or connected realm. [GetPlayerInfoByGUID](https://wow.gamepedia.com/API_GetPlayerInfoByGUID "API GetPlayerInfoByGUID")("guid") - Returns race, class, sex about the guid (client must have seen the guid)