1
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user