This commit is contained in:
2026-07-09 14:29:17 +08:00
parent 772b700577
commit 79147f6d47
19 changed files with 1635 additions and 30 deletions
@@ -296,6 +296,18 @@ namespace Assets.MyGame.Scripts.Net
APIManager.Response<int>(APIType.Hall_GetChessRoomPartitionCount, callback);
}
/// <summary>
/// 发送全服广播(GET /api/Hall/SendBroadcast?message=xxx)
/// 返回:string
/// </summary>
public static void SendBroadcast(string message, Action<string> callback = null)
{
APIManager.Response<string>(APIType.Hall_SendBroadcast, new SendBroadcastParam
{
message = message
}, callback);
}
#endregion
}
}