多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[C\_PvP.GetRandomBGInfo](https://wow.gamepedia.com/API_C_PvP.GetRandomBGInfo "API C PvP.GetRandomBGInfo")() [C\_PvP.GetRandomBGRewards](https://wow.gamepedia.com/API_C_PvP.GetRandomBGRewards "API C PvP.GetRandomBGRewards")() [C\_PvP.GetRandomEpicBGInfo](https://wow.gamepedia.com/API_C_PvP.GetRandomEpicBGInfo "API C PvP.GetRandomEpicBGInfo")() [C\_PvP.GetRandomEpicBGRewards](https://wow.gamepedia.com/API_C_PvP.GetRandomEpicBGRewards "API C PvP.GetRandomEpicBGRewards")() [C\_PvP.GetRatedBGRewards](https://wow.gamepedia.com/API_C_PvP.GetRatedBGRewards "API C PvP.GetRatedBGRewards")() [C\_PvP.IsBattleground](https://wow.gamepedia.com/API_C_PvP.IsBattleground "API C PvP.IsBattleground")() [C\_PvP.IsBattlegroundEnlistmentBonusActive](https://wow.gamepedia.com/API_C_PvP.IsBattlegroundEnlistmentBonusActive "API C PvP.IsBattlegroundEnlistmentBonusActive")() [C\_PvP.IsRatedBattleground](https://wow.gamepedia.com/API_C_PvP.IsRatedBattleground "API C PvP.IsRatedBattleground")() [AcceptAreaSpiritHeal](https://wow.gamepedia.com/API_AcceptAreaSpiritHeal "API AcceptAreaSpiritHeal")() - Accept a spirit heal. [AcceptBattlefieldPort](https://wow.gamepedia.com/API_AcceptBattlefieldPort "API AcceptBattlefieldPort")(index\[, acceptFlag\]) - Accept or reject an offered battlefield port. [BattlefieldSetPendingReportTarget](https://wow.gamepedia.com/index.php?title=API_BattlefieldSetPendingReportTarget&action=edit&redlink=1 "API BattlefieldSetPendingReportTarget (page does not exist)")(index) - Unused in FrameXML. [CanJoinBattlefieldAsGroup](https://wow.gamepedia.com/API_CanJoinBattlefieldAsGroup "API CanJoinBattlefieldAsGroup")() - Returns nil if the player can not do a group join for a battlefield. [CancelAreaSpiritHeal](https://wow.gamepedia.com/API_CancelAreaSpiritHeal "API CancelAreaSpiritHeal")() - Cancel a spirit heal. [CheckSpiritHealerDist](https://wow.gamepedia.com/index.php?title=API_CheckSpiritHealerDist&action=edit&redlink=1 "API CheckSpiritHealerDist (page does not exist)")() - Returns true if you are in range with spirit healer while dead. [GetAreaSpiritHealerTime](https://wow.gamepedia.com/API_GetAreaSpiritHealerTime "API GetAreaSpiritHealerTime")() - Returns the time left until the next resurrection by the Sprit Guide. [GetBattlefieldEstimatedWaitTime](https://wow.gamepedia.com/API_GetBattlefieldEstimatedWaitTime "API GetBattlefieldEstimatedWaitTime")(index) - Get the estimated wait for entry into the battlefield. [GetBattlefieldFlagPosition](https://wow.gamepedia.com/API_GetBattlefieldFlagPosition "API GetBattlefieldFlagPosition")(index) - Get the map position and texture of the flag. [GetBattlefieldInstanceExpiration](https://wow.gamepedia.com/API_GetBattlefieldInstanceExpiration "API GetBattlefieldInstanceExpiration")() - Get shutdown timer for the battlefield instance. [GetBattlefieldInstanceRunTime](https://wow.gamepedia.com/API_GetBattlefieldInstanceRunTime "API GetBattlefieldInstanceRunTime")() - In milliseconds, the time since battleground started (seems to be queried from server because it is not in sync with time()). [GetBattlefieldMapIconScale](https://wow.gamepedia.com/index.php?title=API_GetBattlefieldMapIconScale&action=edit&redlink=1 "API GetBattlefieldMapIconScale (page does not exist)")() - Scale of the landmark icons on the battlefield minimap. [GetBattlefieldPortExpiration](https://wow.gamepedia.com/API_GetBattlefieldPortExpiration "API GetBattlefieldPortExpiration")(index) - Get the remaining seconds before the battlefield port expires. [GetBattlefieldScore](https://wow.gamepedia.com/API_GetBattlefieldScore "API GetBattlefieldScore")(index) - Get score information about a player. [GetBattlefieldStatData](https://wow.gamepedia.com/API_GetBattlefieldStatData "API GetBattlefieldStatData")(playerIndex, slotIndex) - Get information for a player from a column thats specific to a battleground (like Warsong Gulch flag captures). [GetBattlefieldStatus](https://wow.gamepedia.com/API_GetBattlefieldStatus "API GetBattlefieldStatus")(index) - Get the battlefield's current status. [GetBattlefieldTimeWaited](https://wow.gamepedia.com/API_GetBattlefieldTimeWaited "API GetBattlefieldTimeWaited")(index) - Get time waited in queue in milliseconds. [GetBattlefieldWinner](https://wow.gamepedia.com/API_GetBattlefieldWinner "API GetBattlefieldWinner")() - Get the battlefields winner. [GetBattlegroundInfo](https://wow.gamepedia.com/API_GetBattlegroundInfo "API GetBattlegroundInfo")(index) - Returns information about a battleground type. [GetBattlegroundPoints](https://wow.gamepedia.com/API_GetBattlegroundPoints "API GetBattlegroundPoints")() - Unused in FrameXML. [GetMaxBattlefieldID](https://wow.gamepedia.com/API_GetMaxBattlefieldID "API GetMaxBattlefieldID")() - Returns the max number of battlefields you can queue for. [GetNumBattlefieldFlagPositions](https://wow.gamepedia.com/index.php?title=API_GetNumBattlefieldFlagPositions&action=edit&redlink=1 "API GetNumBattlefieldFlagPositions (page does not exist)")() - Get the number of flag positions available from GetBattlefieldFlagPosition(). [GetNumBattlefieldScores](https://wow.gamepedia.com/API_GetNumBattlefieldScores "API GetNumBattlefieldScores")() - Returns the number of scores(players) listed in the battlefield scoreboard. [GetNumBattlegroundTypes](https://wow.gamepedia.com/API_GetNumBattlegroundTypes "API GetNumBattlegroundTypes")() [GetPersonalRatedInfo](https://wow.gamepedia.com/API_GetPersonalRatedInfo "API GetPersonalRatedInfo")(bracketIndex) [GetRatedBattleGroundInfo](https://wow.gamepedia.com/index.php?title=API_GetRatedBattleGroundInfo&action=edit&redlink=1 "API GetRatedBattleGroundInfo (page does not exist)")() - Unused in FrameXML. [IsPVPTimerRunning](https://wow.gamepedia.com/index.php?title=API_IsPVPTimerRunning&action=edit&redlink=1 "API IsPVPTimerRunning (page does not exist)")() PROTECTED[JoinBattlefield](https://wow.gamepedia.com/API_JoinBattlefield "API JoinBattlefield")(index\[, joinAs\]) - Queue for a battleground either solo or as a group. PROTECTED[JoinRatedBattlefield](https://wow.gamepedia.com/index.php?title=API_JoinRatedBattlefield&action=edit&redlink=1 "API JoinRatedBattlefield (page does not exist)")() [LeaveBattlefield](https://wow.gamepedia.com/API_LeaveBattlefield "API LeaveBattlefield")() - Leave the current battlefield. [ReportPlayerIsPVPAFK](https://wow.gamepedia.com/index.php?title=API_ReportPlayerIsPVPAFK&action=edit&redlink=1 "API ReportPlayerIsPVPAFK (page does not exist)")("unit") - Reports the specified player as AFK in a battleground. [RequestBattlefieldScoreData](https://wow.gamepedia.com/API_RequestBattlefieldScoreData "API RequestBattlefieldScoreData")() - Request new data for GetBattlefieldScore(). [RequestRandomBattlegroundInstanceInfo](https://wow.gamepedia.com/API_RequestRandomBattlegroundInstanceInfo "API RequestRandomBattlegroundInstanceInfo")() [RequestRatedInfo](https://wow.gamepedia.com/API_RequestRatedInfo "API RequestRatedInfo")() [SetBattlefieldScoreFaction](https://wow.gamepedia.com/API_SetBattlefieldScoreFaction "API SetBattlefieldScoreFaction")(\[faction\]) - Set the faction to show on the battlefield scoreboard. [SortBattlefieldScoreData](https://wow.gamepedia.com/index.php?title=API_SortBattlefieldScoreData&action=edit&redlink=1 "API SortBattlefieldScoreData (page does not exist)")("type") [UnitInBattleground](https://wow.gamepedia.com/API_UnitInBattleground "API UnitInBattleground")("unit") - Returns the unit index if the unit is in your battleground, nil otherwise. DEPRECATED (8.2.0)[GetBattlefieldStatInfo](https://wow.gamepedia.com/API_GetBattlefieldStatInfo "API GetBattlefieldStatInfo")(index) - Get the battleground specific column for the score board. DEPRECATED (8.2.0)[GetNumBattlefieldStats](https://wow.gamepedia.com/API_GetNumBattlefieldStats "API GetNumBattlefieldStats")() - Get the number of battleground specific columns. DEPRECATED (8.1.5)[InActiveBattlefield](https://wow.gamepedia.com/API_InActiveBattlefield "API InActiveBattlefield")()