src/auto_settings.cpp
PlayerSpecificSettings* CloneSettings(PlayerSpecificSettings* settings) {
        PlayerSpecificSettings* clone = PlayerSpecificSettings::New_ctor();
        clone->adaptiveSfx = settings->adaptiveSfx;
        clone->advancedHud = settings->advancedHud;
        clone->automaticPlayerHeight = settings->automaticPlayerHeight;
        clone->autoRestart = settings->autoRestart;
        clone->hideNoteSpawnEffect = settings->hideNoteSpawnEffect;
        clone->leftHanded = settings->leftHanded;
        clone->noFailEffects = settings->noFailEffects;
        clone->noteJumpStartBeatOffset = settings->noteJumpStartBeatOffset;
        clone->noTextsAndHuds = settings->noTextsAndHuds;
        clone->playerHeight = settings->playerHeight;
        clone->reduceDebris = settings->reduceDebris;
        clone->saberTrailIntensity = settings->saberTrailIntensity;
        clone->sfxVolume = settings->sfxVolume;
        clone->environmentEffectsFilterDefaultPreset = settings->environmentEffectsFilterDefaultPreset;
        clone->environmentEffectsFilterExpertPlusPreset = settings->environmentEffectsFilterExpertPlusPreset;
        return clone;
    }
// Copies every property of settings to a new instance of PlayerSpecificSettings
// Used to avoid changing the actual settings when temporarily overriding them for a map
Copies every property of settings to a new instance of PlayerSpecificSettings
Used to avoid changing the actual settings when temporarily overriding them for a map
Copies every property of settings to a new instance of PlayerSpecificSettings Used to avoid changing the actual settings when temporarily overriding them for a map
PlayerSpecificSettings* CloneSettings(PlayerSpecificSettings* settings) {
        PlayerSpecificSettings* clone = PlayerSpecificSettings::New_ctor();
        clone->adaptiveSfx = settings->adaptiveSfx;
        clone->advancedHud = settings->advancedHud;
        clone->automaticPlayerHeight = settings->automaticPlayerHeight;
        clone->autoRestart = settings->autoRestart;
        clone->hideNoteSpawnEffect = settings->hideNoteSpawnEffect;
        clone->leftHanded = settings->leftHanded;
        clone->noFailEffects = settings->noFailEffects;
        clone->noteJumpStartBeatOffset = settings->noteJumpStartBeatOffset;
        clone->noTextsAndHuds = settings->noTextsAndHuds;
        clone->playerHeight = settings->playerHeight;
        clone->reduceDebris = settings->reduceDebris;
        clone->saberTrailIntensity = settings->saberTrailIntensity;
        clone->sfxVolume = settings->sfxVolume;
        clone->environmentEffectsFilterDefaultPreset = settings->environmentEffectsFilterDefaultPreset;
        clone->environmentEffectsFilterExpertPlusPreset = settings->environmentEffectsFilterExpertPlusPreset;
        return clone;
    }
PlayerSpecificSettings * CloneSettings ( PlayerSpecificSettings * settings ) { PlayerSpecificSettings * clone = PlayerSpecificSettings :: New_ctor ( ) ; clone -> adaptiveSfx = settings -> adaptiveSfx ; clone -> advancedHud = settings -> advancedHud ; clone -> automaticPlayerHeight = settings -> automaticPlayerHeight ; clone -> autoRestart = settings -> autoRestart ; clone -> hideNoteSpawnEffect = settings -> hideNoteSpawnEffect ; clone -> leftHanded = settings -> leftHanded ; clone -> noFailEffects = settings -> noFailEffects ; clone -> noteJumpStartBeatOffset = settings -> noteJumpStartBeatOffset ; clone -> noTextsAndHuds = settings -> noTextsAndHuds ; clone -> playerHeight = settings -> playerHeight ; clone -> reduceDebris = settings -> reduceDebris ; clone -> saberTrailIntensity = settings -> saberTrailIntensity ; clone -> sfxVolume = settings -> sfxVolume ; clone -> environmentEffectsFilterDefaultPreset = settings -> environmentEffectsFilterDefaultPreset ; clone -> environmentEffectsFilterExpertPlusPreset = settings -> environmentEffectsFilterExpertPlusPreset ; return clone ; }
Copies every property of settings to a new instance of PlayerSpecificSettings
Used to avoid changing the actual settings when temporarily overriding them for a map
Copies every property of settings to a new instance of PlayerSpecificSettings Used to avoid changing the actual settings when temporarily overriding them for a map