From 796296f27898cabea6a54ad7dbd3db3ffe5b8a8d Mon Sep 17 00:00:00 2001 From: zyberspace Date: Thu, 26 May 2016 10:02:38 +0200 Subject: [PATCH] Interface update --- .../Interfaces/ICSGOTournaments_730.php | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 lib/Zyberspace/SteamWebApi/Interfaces/ICSGOTournaments_730.php diff --git a/lib/Zyberspace/SteamWebApi/Interfaces/ICSGOTournaments_730.php b/lib/Zyberspace/SteamWebApi/Interfaces/ICSGOTournaments_730.php new file mode 100644 index 0000000..61cc5e9 --- /dev/null +++ b/lib/Zyberspace/SteamWebApi/Interfaces/ICSGOTournaments_730.php @@ -0,0 +1,88 @@ +_call(__METHOD__, 'GET', array('event' => $event, 'steamid' => $steamid, 'steamidkey' => $steamidkey)); + } + /** + * /ICSGOTournaments_730/GetTournamentItems/v1/ + * + * @param uint32 $event The event ID + * @param uint64 $steamid The SteamID of the user inventory + * @param string $steamidkey Authentication obtained from the SteamID + */ + public function GetTournamentItemsV1($event, $steamid, $steamidkey) + { + return $this->_call(__METHOD__, 'GET', array('event' => $event, 'steamid' => $steamid, 'steamidkey' => $steamidkey)); + } + /** + * /ICSGOTournaments_730/GetTournamentLayout/v1/ + * + * @param uint32 $event The event ID + */ + public function GetTournamentLayoutV1($event) + { + return $this->_call(__METHOD__, 'GET', array('event' => $event)); + } + /** + * /ICSGOTournaments_730/GetTournamentPredictions/v1/ + * + * @param uint32 $event The event ID + * @param uint64 $steamid The SteamID of the user inventory + * @param string $steamidkey Authentication obtained from the SteamID + */ + public function GetTournamentPredictionsV1($event, $steamid, $steamidkey) + { + return $this->_call(__METHOD__, 'GET', array('event' => $event, 'steamid' => $steamid, 'steamidkey' => $steamidkey)); + } + /** + * /ICSGOTournaments_730/UploadTournamentFantasyLineup/v1/ + * + * @param uint32 $event The event ID + * @param uint64 $steamid The SteamID of the user inventory + * @param string $steamidkey Authentication obtained from the SteamID + * @param uint32 $sectionid Event section id + * @param uint32 $pickid0 PickID to select for the slot + * @param uint64 $itemid0 ItemID to lock in for the pick + * @param uint32 $pickid1 PickID to select for the slot + * @param uint64 $itemid1 ItemID to lock in for the pick + * @param uint32 $pickid2 PickID to select for the slot + * @param uint64 $itemid2 ItemID to lock in for the pick + * @param uint32 $pickid3 PickID to select for the slot + * @param uint64 $itemid3 ItemID to lock in for the pick + * @param uint32 $pickid4 PickID to select for the slot + * @param uint64 $itemid4 ItemID to lock in for the pick + */ + public function UploadTournamentFantasyLineupV1($event, $steamid, $steamidkey, $sectionid, $pickid0, $itemid0, $pickid1, $itemid1, $pickid2, $itemid2, $pickid3, $itemid3, $pickid4, $itemid4) + { + return $this->_call(__METHOD__, 'POST', array('event' => $event, 'steamid' => $steamid, 'steamidkey' => $steamidkey, 'sectionid' => $sectionid, 'pickid0' => $pickid0, 'itemid0' => $itemid0, 'pickid1' => $pickid1, 'itemid1' => $itemid1, 'pickid2' => $pickid2, 'itemid2' => $itemid2, 'pickid3' => $pickid3, 'itemid3' => $itemid3, 'pickid4' => $pickid4, 'itemid4' => $itemid4)); + } + /** + * /ICSGOTournaments_730/UploadTournamentPredictions/v1/ + * + * @param uint32 $event The event ID + * @param uint64 $steamid The SteamID of the user inventory + * @param string $steamidkey Authentication obtained from the SteamID + * @param uint32 $sectionid Event section id + * @param uint32 $groupid Event group id + * @param uint32 $index Index in group + * @param uint32 $pickid Pick ID to select + * @param uint64 $itemid ItemID to lock in for the pick + */ + public function UploadTournamentPredictionsV1($event, $steamid, $steamidkey, $sectionid, $groupid, $index, $pickid, $itemid) + { + return $this->_call(__METHOD__, 'POST', array('event' => $event, 'steamid' => $steamid, 'steamidkey' => $steamidkey, 'sectionid' => $sectionid, 'groupid' => $groupid, 'index' => $index, 'pickid' => $pickid, 'itemid' => $itemid)); + } +}