Beispiel #1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameRpgItemByUuidByGameId()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");
            string _game_id = (string)util.GetParamValue(_context, "game_id");

            ResponseGameRpgItemInt wrapper = new ResponseGameRpgItemInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-rpg-item/count/by-uuid/by-game-id";

            int i = api.CountGameRpgItemByUuidByGameId(
                _uuid
                , _game_id
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Beispiel #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameRpgItem()
        {
            ResponseGameRpgItemInt wrapper = new ResponseGameRpgItemInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-rpg-item/count";

            int i = api.CountGameRpgItem(
            );

            // get data
            wrapper.data = i;

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