feature/72-channelselection-and-character-creation #82
1 changed files with 35 additions and 30 deletions
|
@ -71,7 +71,16 @@ public class ChannelSelectionHandler : IPacketHandler<ChannelSelectionPacket>
|
|||
}
|
||||
else
|
||||
{
|
||||
responsePacket = new ChannelSelectionResponsePacket
|
||||
responsePacket = CreateTestChannelSelectionResponsePacket();
|
||||
}
|
||||
|
||||
authSession.Send(responsePacket);
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
private static ChannelSelectionResponsePacket CreateTestChannelSelectionResponsePacket()
|
||||
{
|
||||
return new ChannelSelectionResponsePacket
|
||||
{
|
||||
ChannelIsFullFlag = 0,
|
||||
Endpoint = "127.0.0.1",
|
||||
|
@ -102,8 +111,4 @@ public class ChannelSelectionHandler : IPacketHandler<ChannelSelectionPacket>
|
|||
},
|
||||
};
|
||||
}
|
||||
|
||||
authSession.Send(responsePacket);
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue