mirror of
				https://github.com/Gongxh0901/kunpolibrary
				synced 2025-10-31 03:15:45 +00:00 
			
		
		
		
	更新时间相关接口
This commit is contained in:
		| @@ -1,6 +1,8 @@ | |||||||
| ## 时间 | ## 时间 | ||||||
| 添加一系列时间相关的函数 | 添加一系列时间相关的函数 | ||||||
|  |  | ||||||
|  | * 获取到服务器时间后,调用  `Time.setNetTime` 后,会自动计算本地时间和服务器时间的差值,之后通过`Time.now()`获取到的时间都是计算过差值后的时间戳 | ||||||
|  |  | ||||||
| ```typescript | ```typescript | ||||||
| /** 获取游戏系统启动时间戳 */ | /** 获取游戏系统启动时间戳 */ | ||||||
| static get osBootTime(): number; | static get osBootTime(): number; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user