예제 #1
0
        public LoaderTest()
        {
            _testData = new TestData();

            _loader = new Mod.Loader.Loader(true);
            _loader.LoadForCurrentProcess();
        }
    public LoaderApiTests()
    {
        _testEnvironmoent = new TestEnvironmoent();

        _loader = new Mod.Loader.Loader(true);
        _loader.LoadForCurrentProcess();
    }
예제 #3
0
        public ServerTest()
        {
            _testData = new TestData();

            _loader = new Mod.Loader.Loader(true);
            _loader.LoadForCurrentProcess();

            _host   = new Host(_loader);
            _client = new Client(_host.Port);
        }
예제 #4
0
    public LnlServerHost()
    {
        _testEnvironment = new TestEnvironmoent();

        _loader = new Mod.Loader.Loader(true);
        _loader.LoadForCurrentProcess();

        _host   = LiteNetLibServer.Create(_loader.Logger, _loader.Manager.LoaderApi, new Utils.Server.Configuration.Config());
        _client = new LiteNetLibClient(IPAddress.Loopback, "", _host.Host.Manager.LocalPort);
    }