public LoginServer() : base(InternalSettings.myLoginServerPort.Port)
 {
     myFactory = new PacketFactory();
     myFactory.AssignProcessor(HandleLogin, typeof(LoginPacket));
     myFactory.AssignProcessor(HandleDisconnect, typeof(DisconnectPacket));
 }
Exemple #2
0
 public void AssignProcessor(PacketProcessor MyProc, Type T)
 {
     myFactory.AssignProcessor(MyProc, T);
 }