缓存模块

This commit is contained in:
bob
2025-08-15 18:12:04 +08:00
parent d5689258fc
commit 34b25273a7
19 changed files with 275 additions and 79 deletions

14
Entity/Def/AppConfig.cs Normal file
View File

@@ -0,0 +1,14 @@
namespace NB;
public class AppConfig
{
/// <summary>
/// 缓存过期检测时间间隔,1小时
/// </summary>
public static long CacheCheckIntervalTime = 360000;
/// <summary>
/// 玩家数据定时落地间隔
/// </summary>
public const long PlayerDataAutoSaveTime = 60000; // 600000;
}