16 lines
242 B
C#
16 lines
242 B
C#
|
|
|||
|
|
|||
|
using Util;
|
|||
|
|
|||
|
namespace Network {
|
|||
|
public interface PeerListener {
|
|||
|
|
|||
|
void OnStart();
|
|||
|
void OnStop();
|
|||
|
|
|||
|
void OnConnect(Connection conn);
|
|||
|
void OnDisconnect(Connection conn, DisconnectReason reason);
|
|||
|
|
|||
|
}
|
|||
|
}
|