ArenaTeam myTeam = GetMyArenaTeam(); // Get the player's current arena team int numMembers = myTeam.GetSize(); // Get the number of members in the team
ArenaTeam myTeam = GetMyArenaTeam(); // Get the player's current arena team string teamName = myTeam.GetName(); // Get the team name int teamRating = myTeam.GetRating(); // Get the team rating cout << "Team Name: " << teamName << endl; // Display the team name cout << "Team Rating: " << teamRating << endl; // Display the team ratingThis example demonstrates using the GetName() and GetRating() methods of the ArenaTeam class to retrieve the team name and rating, respectively. Package/Library: World of Warcraft API (Blizzard API)