//------------------------------------------------------------------------------ public virtual void CountGameContentByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseGameContentInt wrapper = new ResponseGameContentInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-content/count/by-uuid"; int i = api.CountGameContentByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameContentByGameIdByPath() { string _game_id = (string)util.GetParamValue(_context, "game_id"); string _path = (string)util.GetParamValue(_context, "path"); ResponseGameContentInt wrapper = new ResponseGameContentInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-content/count/by-game-id/by-path"; int i = api.CountGameContentByGameIdByPath( _game_id , _path ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameContentByGameIdByPathByVersionByPlatformByIncrement() { string _game_id = (string)util.GetParamValue(_context, "game_id"); string _path = (string)util.GetParamValue(_context, "path"); string _version = (string)util.GetParamValue(_context, "version"); string _platform = (string)util.GetParamValue(_context, "platform"); int _increment = int.Parse(util.GetParamValue(_context, "increment")); ResponseGameContentInt wrapper = new ResponseGameContentInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-content/count/by-game-id/by-path/by-version/by-platform/by-increment"; int i = api.CountGameContentByGameIdByPathByVersionByPlatformByIncrement( _game_id , _path , _version , _platform , _increment ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameContent() { ResponseGameContentInt wrapper = new ResponseGameContentInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-content/count"; int i = api.CountGameContent( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }