添加示例项目

This commit is contained in:
2026-04-16 16:27:53 +08:00
parent 69a2141804
commit 721fb5a992
192 changed files with 10148 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"ProjectName": "设置服务器等级上限",
"ProjectDescribe": "设置服务器等级上限",
"ProjectAuthor": "倾泪寒",
"ProjectVersion": 1.0,
"ProjectConfig": "设置服务器等级上限_Lenheart.json",
"ProjectFiles": [
"设置服务器等级上限.nut"
],
"ProjectRunFunc": "_Dps_SetGameMaxLevel_Main_"
}

View File

@@ -0,0 +1,12 @@
function _Dps_SetGameMaxLevel_Logic_() {
local Config = GlobalConfig.Get("设置服务器等级上限_Lenheart.json");
GameManager.SetGameMaxLevel(Config["等级上限"]);
}
function _Dps_SetGameMaxLevel_Main_() {
_Dps_SetGameMaxLevel_Logic_();
}
function _Dps_SetGameMaxLevel_Main_Reload(OldConfig) {
_Dps_SetGameMaxLevel_Logic_();
}

View File

@@ -0,0 +1,3 @@
{
"等级上限": 86
}