Пример #1
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileGameDataAttributeByProfileIdByGameIdByCode()
        {
            string _profile_id = (string)util.GetParamValue(_context, "profile_id");
            string _game_id = (string)util.GetParamValue(_context, "game_id");
            string _code = (string)util.GetParamValue(_context, "code");

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

            int i = api.CountProfileGameDataAttributeByProfileIdByGameIdByCode(
                _profile_id
                , _game_id
                , _code
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Пример #2
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileGameDataAttributeByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

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

            int i = api.CountProfileGameDataAttributeByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

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

            int i = api.CountProfileGameDataAttribute(
            );

            // get data
            wrapper.data = i;

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