예제 #1
0
파일: Form1.cs 프로젝트: jnoyola/GW2-Live
        private async Task SetupMumble()
        {
            startLabel.SetPropertyThreadSafe("Text", "Waiting for Mumble Link . . .");
            planningLabel.SetPropertyThreadSafe("Text", "Waiting for Mumble Link . . .");

            mumble = new MumbleHandler();
            await mumble.WaitForActive();

            identity = mumble.GetIdentity();

            startLabel.SetPropertyThreadSafe("Text", $"Mumble Link active for {identity.name}");
            liveStartButton.SetPropertyThreadSafe("Enabled", true);
        }
예제 #2
0
 public PathRecorder(MumbleHandler mumble, MapView mapView)
 {
     this.mumble  = mumble;
     this.mapView = mapView;
 }