//------------------------------------------------------------------------------ public virtual void CountGameLiveQueueByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseGameLiveQueueInt wrapper = new ResponseGameLiveQueueInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-live-queue/count/by-uuid"; int i = api.CountGameLiveQueueByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameLiveQueue() { ResponseGameLiveQueueInt wrapper = new ResponseGameLiveQueueInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-live-queue/count"; int i = api.CountGameLiveQueue( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }