-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
150 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
|
||
|
||
export const enum EditorTableType { | ||
Unit = "unit", | ||
Decoration = "decoration", | ||
Item = "item", | ||
Ability = "ability", | ||
Modifier = "modifier", | ||
Projectile = "projectile", | ||
Technology = "technology", | ||
Destructible = "destructible", | ||
Sound = "sound" | ||
} | ||
|
||
|
||
export const englishPathToChinese: Readonly<{ [key: string]: string } >= { | ||
"editorunit": "单位", | ||
"soundall": "声音", | ||
"abilityall": "技能", | ||
"editordecoration": "装饰物", | ||
"editordestructible": "可破坏物", | ||
"editoritem": "物品", | ||
"modifierall": "魔法效果", | ||
"projectileall": "投射物", | ||
"technologyall": "科技" | ||
}; | ||
export const englishToChinese: Readonly<{ [key: string]: string } >= { | ||
"unit": "单位", | ||
"decoration": "装饰物", | ||
"item": "物品", | ||
"ability": "技能", | ||
"modifier": "魔法效果", | ||
"projectile": "投射物", | ||
"technology": "科技", | ||
"destructible": "可破坏物", | ||
"sound": "声音" | ||
}; | ||
export const chineseToEnglish:Readonly< { [key: string]: string } >= { | ||
"单位": "unit", | ||
"装饰物": "decoration", | ||
"物品": "item", | ||
"技能": "ability", | ||
"魔法效果": "modifier", | ||
"投射物": "projectile", | ||
"科技": "technology", | ||
"可破坏物": "destructible", | ||
"声音": "sound" | ||
}; | ||
|
||
/** | ||
* 物编数据类型与其在Y3项目中存放的文件夹名的对应关系 | ||
*/ | ||
export const editorTableTypeToFolderName: Readonly<{ [key: string]: string }> = { | ||
"unit": "editorunit", | ||
"decoration": "editordecoration", | ||
"item": "editoritem", | ||
"ability": "abilityall", | ||
"modifier": "modifierall", | ||
"projectile": "projectileall", | ||
"technology": "technologyall", | ||
"destructible": "editordestructible", | ||
"sound":"soundall" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.