mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-07 19:07:30 +08:00
修改版本号
This commit is contained in:
@@ -24,7 +24,7 @@ import { GameManager } from "./game/GameManager";
|
||||
import { LayerManager } from "./gui/layer/LayerManager";
|
||||
|
||||
/** 框架版本号 */
|
||||
export var version: string = "2.0.0.20250404";
|
||||
export var version: string = "2.0.0.20250423";
|
||||
|
||||
/** 框架核心模块访问入口 */
|
||||
export class oops {
|
||||
|
||||
@@ -41,11 +41,12 @@ export class LanguageData {
|
||||
*
|
||||
* 3、config/game/Language配置表使用oops-plugin-excel-to-json插件生成,点击项目根目录下载update-oops-plugin-framework.bat或update-oops-plugin-framework.sh脚本下载插件
|
||||
*/
|
||||
public static getLangByID(labId: string): string {
|
||||
static getLangByID(labId: string): string {
|
||||
let content: string = null!;
|
||||
for (const [key, value] of this.language) {
|
||||
if (key == LanguageDataType.Excel) {
|
||||
content = value[labId][this.current];
|
||||
let lang = value[labId];
|
||||
if (lang) content = lang[this.current];
|
||||
}
|
||||
else {
|
||||
content = value[labId];
|
||||
|
||||
Reference in New Issue
Block a user