Google_Service_GamesManagement_Rooms_Resource

The "rooms" collection of methods.

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/GamesManagement.php  
  1. class Google_Service_GamesManagement_Rooms_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Reset all rooms for the currently authenticated player for your application. 
  5. * This method is only accessible to whitelisted tester accounts for your 
  6. * application. (rooms.reset) 
  7. * @param array $optParams Optional parameters. 
  8. */ 
  9. public function reset($optParams = array()) 
  10. $params = array(); 
  11. $params = array_merge($params, $optParams); 
  12. return $this->call('reset', array($params)); 
  13.  
  14. /** 
  15. * Deletes rooms where the only room participants are from whitelisted tester 
  16. * accounts for your application. This method is only available to user accounts 
  17. * for your developer console. (rooms.resetForAllPlayers) 
  18. * @param array $optParams Optional parameters. 
  19. */ 
  20. public function resetForAllPlayers($optParams = array()) 
  21. $params = array(); 
  22. $params = array_merge($params, $optParams); 
  23. return $this->call('resetForAllPlayers', array($params));