//------------------------------------------------------------------------------ public virtual void CountGameProfileAttributeByType() { int _type = int.Parse(util.GetParamValue(_context, "type")); ResponseGameProfileAttributeInt wrapper = new ResponseGameProfileAttributeInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-profile-attribute/count/by-type"; int i = api.CountGameProfileAttributeByType( _type ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameProfileAttributeByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseGameProfileAttributeInt wrapper = new ResponseGameProfileAttributeInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-profile-attribute/count/by-uuid"; int i = api.CountGameProfileAttributeByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameProfileAttribute() { ResponseGameProfileAttributeInt wrapper = new ResponseGameProfileAttributeInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-profile-attribute/count"; int i = api.CountGameProfileAttribute( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }