Lots of changes this patch, mostly around honor and the battlefields.
Removed:
EnablePVP()
Removed in favor of TogglePVP()
New:
AcceptBattlefieldPort({acceptFlag})
Called with a true argument to accept porting into a battlefield, or nil
to reject/leave queue.
ClearInspectPlayer()
Clears the player currently being inspected (Called on hide of
inspect frame)
waitTime = GetBattlefieldEstimatedWaitTime()
Get estimated wait for entry into the battlefield.
mapName, mapDescription, minLevel, maxLevel, mapID, mapX, mapY, mapFull = GetBattlefieldInfo(index)
Get detailed information about a battlefield.
shutdownTimerMillis = GetBattlefieldInstanceExpiration()
Get shutdown timer for the battlefield instance
instanceID = GetBattlefieldInstanceInfo(index)
Get information about a battlefield instance.
expirationMillis = GetBattlefieldPortExpiration()
Get the number of milliseconds before the battlefield port expires.
status, mapName, instanceID = GetBattlefieldStatus()
Get status information for the battlefield
GetCurrentMultisampleFormat()[/b]
Get current multi-sampling (antialiasing) format.
lifetimeRank, sessionHK, sessionDK, yesterdayHK, yesterdayDK,
lastweekHK, lastweekDK, lifetimeHK, lifetimeDK,
yesterdayContribution, lastweekContribution,
lastweekRank = GetInspectHonorData()
Get the honor information about the inspected unit (Phew!)
GetMultisampleFormats()
Get the available multi-sample formats.
hk, dk, contribution, rank = GetPVPLastWeekStats()
Get the statistics about your PvP contribution for last week.
hk, dk, highestRank = GetPVPLifetimeStats()
Get the statistics about your lifetimes PvP contribution
rankName, rankNumber, GetPVPRankInfo(rank [, unit])
Get information about a specific rank (Second arg not used by UI)
hk, dk = GetPVPSessionStats()
Get the statistics about your PvP contribution for this session.
GetPVPYesterdayStats()
Get the statistics about your PvP contribution for yesterday.
hasMainHandEnchant, mainHandExpiration, mainHandCharges,
hasOffHandEnchant, offHandExpiration, offHandCharges = GetWeaponEnchantInfo()
Get lots of information about weapon enchantments and charges.
hasData = HasInspectHonorData()
Determine if the inspected unit's honor data has been loaded.
RequestInspectHonorData()
Request honor data for inspected unit.
SetEuropeanNumbers(...)
New API function - unknown purpose
SetMultisampleFormat(index)
Select multi-sample (antialias) format to use.
ShowBattlefieldList()
Request list of available battlefield instances.
TogglePVP()
Toggle your PVP status
rankName, rankNumber = UnitPVPRank("unit")
Return PVP rank information for a unit.
RegisterEvent("PLAYER_PVP_KILLS_CHANGED");
RegisterEvent("PLAYER_PVP_RANK_CHANGED");
RegisterEvent("INSPECT_HONOR_UPDATE");
Credit Iriel, as usual This thread.