public override void CreateSinglePlayerSession()
{
if (CurrentSession != null)
throw new CoreException("Session is already running");
IPAddress ipAddress;
var host = NetUtility.GetMyAddress(out ipAddress);
_networkSessionLocker = CreatingSession;
LidgrenSession.BeginCreate(host.ToString(), SessionType.SinglePlayer, 1, 1, 0, new SessionProperties(), OnLidgrenSessionCreated, _networkSessionLocker);
}