Function migrateTokenData
- migrateTokenData(
tokenData: object,
options?: { marker?: boolean; token?: TokenDocument },
): 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: { marker?: boolean; token?: TokenDocument }Optional
marker?: boolean
Optional
token?: 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.