protected override void Handle(BuffUpdate args) { App.QueueOnMainThread(() => { var buff = new Buff(args.Id, Resources.Get <BuffProto>(args.ResourceId)); buff.Amount = args.AMeter; buff.IsMajor = args.IsMajor; if (!string.IsNullOrEmpty(args.Tooltip)) { buff.Tooltip = args.Tooltip; } Buffs.AddOrUpdate(buff); }); }