Ejemplo n.º 1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameSessionDataByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseGameSessionDataInt wrapper = new ResponseGameSessionDataInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-session-data/count/by-uuid";

            int i = api.CountGameSessionDataByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Ejemplo n.º 2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameSessionData()
        {
            ResponseGameSessionDataInt wrapper = new ResponseGameSessionDataInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-session-data/count";

            int i = api.CountGameSessionData(
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }