Function migrateTokenData
- migrateTokenData(tokenData, options?): Promise<{
detectionModes: any[];
flags.pf1.-=customVisionRules: any;
flags.pf1.-=disableLowLight: any;
flags.pf1.-=lowLightVision: any;
flags.pf1.-=lowLightVisionMultiplier: any;
flags.pf1.-=lowLightVisionMultiplierBright: any;
flags.pf1.-=staticSize: any;
flags.pf1.migration: any;
sight.-=attenuation: any;
sight.-=brightness: any;
sight.-=contrast: any;
sight.-=saturation: any;
sight.range: number;
sight.visionMode: string;
}> Parameters
tokenData: object
Optional
options: {
token: undefined | TokenDocument;
}
token: undefined | TokenDocument
Returns Promise<{
detectionModes: any[];
flags.pf1.-=customVisionRules: any;
flags.pf1.-=disableLowLight: any;
flags.pf1.-=lowLightVision: any;
flags.pf1.-=lowLightVisionMultiplier: any;
flags.pf1.-=lowLightVisionMultiplierBright: any;
flags.pf1.-=staticSize: any;
flags.pf1.migration: any;
sight.-=attenuation: any;
sight.-=brightness: any;
sight.-=contrast: any;
sight.-=saturation: any;
sight.range: number;
sight.visionMode: string;
}>
Migrate data in tokens that is no longer used.