Skip to content

Commit

Permalink
Better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Chigusa0w0 authored Jun 20, 2019
1 parent c1eba3f commit c38c701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Thaliak.Network/Demo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void Run()

gnm.Subcribe(NetworkMarketListing.GetMessageId(), WhoAmIVisited);
gnm.Subcribe(NetworkLogout.GetMessageId(), Logout); // recv -> waitfor25s -> no cancel -> logout
gnm.Subcribe(NetworkRetainerSummary.GetMessageId(), LogoutC);
gnm.Subcribe(NetworkRetainerSummary.GetMessageId(), RetainerRecv);

gnm.Start();

Expand Down Expand Up @@ -90,7 +90,7 @@ private static void Logout(NetworkMessageHeader header, NetworkMessage msg)
logLines.Add($"Logout".PadRight(40));
}

private static void LogoutC(NetworkMessageHeader header, NetworkMessage msg)
private static void RetainerRecv(NetworkMessageHeader header, NetworkMessage msg)
{
logLines.Add($"Retainer {((NetworkRetainerSummary)msg).RetainerName}");
}
Expand Down

0 comments on commit c38c701

Please sign in to comment.