예제 #1
0
        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);
        }
예제 #2
0
 private bool onUnfriendSent(FriendsServiceEvents.UnfriendSent evt)
 {
     Service.Get <ICPSwrveService>().Action("game.friends", "remove", evt.FriendName);
     return(false);
 }