EditorGameVariables.ts 1.6 KB
// Generated by editor
interface VariableType {
    [key: string]: string | number;
}

interface GlobalVariableType {
    [key: string]: any;
}

export interface EditorGlobalVariableType extends GlobalVariableType {
    like3: number;
    like4: number;
    like5: number;
    like6: number;
    like7: number;
    like8: number;
    playerName: string;
    energy_2: number;
    goldCoin: number;
    skinCoin: number;
}

export interface EditorRecordVariableType extends VariableType {
    like3: number;
    like4: number;
    like5: number;
    like6: number;
    like7: number;
    like8: number;
    MallViewPresenter: number;
    itemUnlock11: number;
    itemUnlock12: number;
    itemUnlock13: number;
    itemUnlock14: number;
    itemUnlock15: number;
    itemUnlock16: number;
    itemUnlock17: number;
    itemUnlock18: number;
}

export const editorGlobalVariableConstrains: { [key: string]: { min?: number, max?: number } } = {
}

export const editorRecordVariableConstrains: { [key: string]: { min?: number, max?: number } } = {
}

export const editorDefaultGlobalVariables: EditorGlobalVariableType = {
    like3: 0,
    like4: 0,
    like5: 0,
    like6: 0,
    like7: 0,
    like8: 0,
    playerName: "玩家",
    energy_2: 100,
    goldCoin: 0,
    skinCoin: 0,
}

export const editorDefaultRecordVariables: EditorRecordVariableType = {
    like3: 0,
    like4: 0,
    like5: 0,
    like6: 0,
    like7: 0,
    like8: 0,
    MallViewPresenter: 0,
    itemUnlock11: 0,
    itemUnlock12: 0,
    itemUnlock13: 0,
    itemUnlock14: 0,
    itemUnlock15: 0,
    itemUnlock16: 0,
    itemUnlock17: 0,
    itemUnlock18: 0,
}