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

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

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

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
예제 #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameRpgItemWeapon()
        {
            ResponseGameRpgItemWeaponInt wrapper = new ResponseGameRpgItemWeaponInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-rpg-item-weapon/count";

            int i = api.CountGameRpgItemWeapon(
            );

            // get data
            wrapper.data = i;

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