private bool onRejectFriendInvitationSent(FriendsServiceEvents.RejectFriendInvitationSent evt) { string messageToken = (evt.Success ? "Friends.FriendsService.requestrejected" : "Friends.FriendsService.actionfailed"); DNotification notification = createNotification(false, messageToken); Service.Get <TrayNotificationManager>().ShowNotification(notification); return(false); }
private bool onRejectFriendInvitationSent(FriendsServiceEvents.RejectFriendInvitationSent evt) { Service.Get <ICPSwrveService>().Action("game.friends", "rejected", evt.FriendName); return(false); }