Пример #1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameAttributeDataByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

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

            int i = api.CountGameAttributeDataByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Пример #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameAttributeData()
        {
            ResponseGameAttributeDataInt wrapper = new ResponseGameAttributeDataInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-attribute-data/count";

            int i = api.CountGameAttributeData(
            );

            // get data
            wrapper.data = i;

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