mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09:00
Rename methods
This commit is contained in:
parent
085968dd7f
commit
b3220476d7
@ -62,8 +62,8 @@ namespace osu.Game.Screens.Multi
|
|||||||
|
|
||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
listingPollingComponent = new ListingPollingComponent { RoomsReceived = onRoomsReceived },
|
listingPollingComponent = new ListingPollingComponent { RoomsReceived = onListingReceived },
|
||||||
selectionPollingComponent = new SelectionPollingComponent { RoomReceived = onRoomReceived }
|
selectionPollingComponent = new SelectionPollingComponent { RoomReceived = onSelectedRoomReceived }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -139,7 +139,7 @@ namespace osu.Game.Screens.Multi
|
|||||||
/// Invoked when the listing of all <see cref="Room"/>s is received from the server.
|
/// Invoked when the listing of all <see cref="Room"/>s is received from the server.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="listing">The listing.</param>
|
/// <param name="listing">The listing.</param>
|
||||||
private void onRoomsReceived(List<Room> listing)
|
private void onListingReceived(List<Room> listing)
|
||||||
{
|
{
|
||||||
// Remove past matches
|
// Remove past matches
|
||||||
foreach (var r in rooms.ToList())
|
foreach (var r in rooms.ToList())
|
||||||
@ -170,7 +170,7 @@ namespace osu.Game.Screens.Multi
|
|||||||
/// Invoked when a <see cref="Room"/> is received from the server.
|
/// Invoked when a <see cref="Room"/> is received from the server.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="toUpdate">The received <see cref="Room"/>.</param>
|
/// <param name="toUpdate">The received <see cref="Room"/>.</param>
|
||||||
private void onRoomReceived(Room toUpdate)
|
private void onSelectedRoomReceived(Room toUpdate)
|
||||||
{
|
{
|
||||||
foreach (var room in rooms)
|
foreach (var room in rooms)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user