private bool onUnfriendSent(FriendsServiceEvents.UnfriendSent evt) { string messageToken = (evt.Success ? "Friends.FriendsService.removedsuccessful" : "Friends.FriendsService.removednotsuccessful"); DNotification notification = createNotification(false, messageToken); Service.Get <TrayNotificationManager>().ShowNotification(notification); return(false); }
private bool onUnfriendSent(FriendsServiceEvents.UnfriendSent evt) { Service.Get <ICPSwrveService>().Action("game.friends", "remove", evt.FriendName); return(false); }