//------------------------------------------------------------------------------ public virtual void CountGameProfileAttributeDataByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseGameProfileAttributeDataInt wrapper = new ResponseGameProfileAttributeDataInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-profile-attribute-data/count/by-uuid"; int i = api.CountGameProfileAttributeDataByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameProfileAttributeData() { ResponseGameProfileAttributeDataInt wrapper = new ResponseGameProfileAttributeDataInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-profile-attribute-data/count"; int i = api.CountGameProfileAttributeData( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }