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

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

            int i = api.CountGameProfileAttributeTextByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

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

            int i = api.CountGameProfileAttributeText(
            );

            // get data
            wrapper.data = i;

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