You've already forked CC-Framework.BriskGameServer
Localize sample UI and document release conventions
This commit is contained in:
@@ -2,9 +2,15 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
/// <summary>
|
||||
/// 动态配置模块。
|
||||
/// </summary>
|
||||
public sealed class BriskConfigModule
|
||||
: BriskModuleBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取当前客户端命中的动态配置。
|
||||
/// </summary>
|
||||
public async Task<BriskConfigCurrent> GetCurrentAsync()
|
||||
{
|
||||
return await ExecutePublicAsync(async context =>
|
||||
@@ -14,6 +20,9 @@ public sealed class BriskConfigModule
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 刷新并重新获取动态配置。
|
||||
/// </summary>
|
||||
public Task<BriskConfigCurrent> RefreshAsync()
|
||||
{
|
||||
return GetCurrentAsync();
|
||||
|
||||
Reference in New Issue
Block a user