Exemple #1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameAttributeTextByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

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

            int i = api.CountGameAttributeTextByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Exemple #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameAttributeText()
        {
            ResponseGameAttributeTextInt wrapper = new ResponseGameAttributeTextInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-attribute-text/count";

            int i = api.CountGameAttributeText(
            );

            // get data
            wrapper.data = i;

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