fix ui for dlg FriendList
This commit is contained in:
@@ -738,7 +738,7 @@ namespace BrewMonster.Network
|
||||
string name = string.IsNullOrEmpty(askerName) ? ("Player " + srcroleid) : askerName;
|
||||
CECUIManager.Instance?.ShowMessageBoxYesAndNo(
|
||||
title: "Friend Request",
|
||||
message: $"{name} wants to add you as a friend.",
|
||||
message: $"{name} muốn hảo hữu với bạn.",
|
||||
dlg: null,
|
||||
onClickedYes: () => Friend_AddResponse(xid, agree: true),
|
||||
onClickedNo: () => Friend_AddResponse(xid, agree: false));
|
||||
@@ -747,7 +747,7 @@ namespace BrewMonster.Network
|
||||
private void OnAddFriendResultReceived(byte retcode, string message)
|
||||
{
|
||||
CECUIManager.Instance?.ShowMessageBoxYes(
|
||||
title: retcode == 0 ? "Friend added" : "Add friend failed",
|
||||
title: retcode == 0 ? "Friend added" : "Đã có trong danh sách bạn bè, không thể hảo hữu",
|
||||
message: message,
|
||||
dlg: null,
|
||||
null);
|
||||
@@ -891,4 +891,4 @@ namespace BrewMonster.Network
|
||||
return v;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user