public async Task <bool> maybeUpdateMumble() { var b = await Task.Run(async() => { var a = Mumble.Read(); if (a == null || a.Context == null || a.Identity == null) { return(false); } bool result = maybeUpdateMap(a.Context.MapId); return(result || (await maybeUpdateTeam(a.Identity.TeamColorId))); }); return(b); }
public void Test_implementsSearchForNewer() { var m = new Mumble(false); Assert.IsTrue(m.implementsSearchForNewer()); }
private void Awake() { this.Camera = this.GetComponent <Camera>(); this.Mumble = this.GetComponent <Mumble>(); }
private void Awake() { this.Mumble = this.GetComponent <Mumble>(); this.CurrentMapId = this.Mumble.Link.GetCoordinates().MapId; }
public void resetMumble() { Mumble.Dispose(); Mumble = MumbleLinkFile.CreateOrOpen(); }
public void Setup() { mumble = new Mumble(); }