// Token: 0x06007BBF RID: 31679 RVA: 0x0022C3AC File Offset: 0x0022A5AC public Annotation FindAnnotation(Guid id) { StoreAnnotationsMap.CachedAnnotation cachedAnnotation = null; if (this._currentAnnotations.TryGetValue(id, out cachedAnnotation)) { return(cachedAnnotation.Annotation); } return(null); }
// Token: 0x06007BBC RID: 31676 RVA: 0x0022C168 File Offset: 0x0022A368 public void RemoveAnnotation(Guid id) { StoreAnnotationsMap.CachedAnnotation cachedAnnotation = null; if (this._currentAnnotations.TryGetValue(id, out cachedAnnotation)) { cachedAnnotation.Annotation.AuthorChanged -= this.OnAuthorChanged; cachedAnnotation.Annotation.AnchorChanged -= this.OnAnchorChanged; cachedAnnotation.Annotation.CargoChanged -= this.OnCargoChanged; this._currentAnnotations.Remove(id); } }