Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public function GetOnlinePlayers()
  2. {
  3. $realms = $this->GetRealmIDs();
  4. $array = array();
  5. $result = array();
  6. foreach($realms as $realm)
  7. {
  8. $array[$realm] = $this->GetPlayersOnline($realm);
  9. foreach($array as $k => $v)
  10. {
  11. $result[$k-1]['realmlist_online_players'] = $v;
  12. }
  13. }
  14. return $result;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement