Add basic request / response support

This commit is contained in:
Dean Herbert
2020-04-11 17:47:51 +09:00
parent 3a36c0008f
commit 832822858c
3 changed files with 48 additions and 0 deletions

View File

@ -30,6 +30,8 @@ namespace osu.Game.Online.API
/// This will be scheduled to the API's internal scheduler (run on update thread automatically).
/// </summary>
public new event APISuccessHandler<T> Success;
internal void TriggerSuccess(T result) => Success?.Invoke(result);
}
/// <summary>