Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaServer/Source/Networking/GameServer.cs
2017-07-05 18:35:09 +03:00

28 lines
495 B
C#

using Lidgren.Network;
namespace Barotrauma.Networking
{
partial class GameServer : NetworkMember
{
void InitProjSpecific()
{
//do nothing
}
void InitUPnP()
{
server.UPnP.ForwardPort(config.Port, "barotrauma");
}
bool DiscoveringUPnP()
{
return server.UPnP.Status == UPnPStatus.Discovering;
}
void FinishUPnP()
{
//do nothing
}
}
}