Esempio n. 1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileStatisticItemByCodeByProfileIdByGameIdByTimestamp()
        {
            string _code = (string)util.GetParamValue(_context, "code");
            string _profile_id = (string)util.GetParamValue(_context, "profile_id");
            string _game_id = (string)util.GetParamValue(_context, "game_id");
            float _timestamp = float.Parse(util.GetParamValue(_context, "timestamp"));

            ResponseGameProfileStatisticItemInt wrapper = new ResponseGameProfileStatisticItemInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-statistic-item/count/by-code/by-profile-id/by-game-id/by-timestamp";

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

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Esempio n. 2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileStatisticItemByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseGameProfileStatisticItemInt wrapper = new ResponseGameProfileStatisticItemInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-statistic-item/count/by-uuid";

            int i = api.CountGameProfileStatisticItemByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Esempio n. 3
0
        //------------------------------------------------------------------------------
        public virtual void CountGameProfileStatisticItem()
        {
            ResponseGameProfileStatisticItemInt wrapper = new ResponseGameProfileStatisticItemInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-profile-statistic-item/count";

            int i = api.CountGameProfileStatisticItem(
            );

            // get data
            wrapper.data = i;

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