Exemplo n.º 1
0
        private bool onFriendInvitationSent(FriendsServiceEvents.SendFriendInvitationSent evt)
        {
            string        messageToken = (evt.Success ? "Friends.FriendsService.invitationsent" : "Friends.FriendsService.invitationfailed");
            DNotification notification = createNotification(false, messageToken);

            Service.Get <TrayNotificationManager>().ShowNotification(notification);
            return(false);
        }
Exemplo n.º 2
0
 private bool onFriendInvitationSent(FriendsServiceEvents.SendFriendInvitationSent evt)
 {
     eventChannel.RemoveListener <FriendsServiceEvents.SendFriendInvitationSent>(onFriendInvitationSent);
     if (evt.Success)
     {
         DetailsController.SetFriendStatus(FriendStatus.OutgoingInvite);
     }
     else
     {
         onFriendInvitationFailed();
     }
     return(false);
 }
Exemplo n.º 3
0
 private bool onSendFriendInvitationSent(FriendsServiceEvents.SendFriendInvitationSent evt)
 {
     Service.Get <ICPSwrveService>().Action("game.friends", "request_sent", evt.FriendName);
     return(false);
 }
Exemplo n.º 4
0
 private bool onSendFriendInvitationSent(FriendsServiceEvents.SendFriendInvitationSent evt)
 {
     sendFriendInvitationSuccess = evt.Success;
     return(false);
 }