コード例 #1
0
 public void Set(GetFriendsVisibleOptions other)
 {
     if (other != null)
     {
         m_ApiVersion = UIInterface.GetfriendsvisibleApiLatest;
         LocalUserId  = other.LocalUserId;
     }
 }
コード例 #2
0
        /// <summary>
        /// Gets the friends overlay visibility.
        /// </summary>
        /// <param name="options">Structure containing the Epic Online Services Account ID of the friends Social Overlay owner.</param>
        /// <returns>
        /// true If the overlay is visible.
        /// </returns>
        public bool GetFriendsVisible(GetFriendsVisibleOptions options)
        {
            System.IntPtr optionsAddress = new System.IntPtr();
            Helper.TryMarshalSet <GetFriendsVisibleOptionsInternal, GetFriendsVisibleOptions>(ref optionsAddress, options);

            var funcResult = EOS_UI_GetFriendsVisible(InnerHandle, optionsAddress);

            Helper.TryMarshalDispose(ref optionsAddress);

            bool funcResultReturn;

            Helper.TryMarshalGet(funcResult, out funcResultReturn);
            return(funcResultReturn);
        }