/** * Returns the item schema * * The item schema is fetched first if not done already * * @return GameItemSchema The item schema for the game this inventory belongs to * @throws WebApiException on Web API errors */ public function getItemSchema() { if ($this->itemSchema == null) { $this->itemSchema = GameItemSchema::create($this->appId, self::$schemaLanguage); } return $this->itemSchema; }