コード例 #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);
        }
コード例 #2
0
ファイル: EventLogger.cs プロジェクト: smdx24/CPI-Source-Code
 private bool onRejectFriendInvitationSent(FriendsServiceEvents.RejectFriendInvitationSent evt)
 {
     Service.Get <ICPSwrveService>().Action("game.friends", "rejected", evt.FriendName);
     return(false);
 }