EditorGameVariables.ts
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// 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,
}