Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 private bool onRejectFriendInvitationSent(FriendsServiceEvents.RejectFriendInvitationSent evt)
 {
     Service.Get <ICPSwrveService>().Action("game.friends", "rejected", evt.FriendName);
     return(false);
 }