Example #1
0
 public void Set(LobbyDetailsGetLobbyOwnerOptions other)
 {
     if (other != null)
     {
         m_ApiVersion = LobbyDetails.LobbydetailsGetlobbyownerApiLatest;
     }
 }
        /// <summary>
        /// Get the product user ID of the current owner for a given lobby
        /// </summary>
        /// <param name="options">Structure containing the input parameters</param>
        /// <returns>
        /// the product user ID for the lobby owner or null if the input parameters are invalid
        /// </returns>
        public ProductUserId GetLobbyOwner(LobbyDetailsGetLobbyOwnerOptions options)
        {
            System.IntPtr optionsAddress = new System.IntPtr();
            Helper.TryMarshalSet <LobbyDetailsGetLobbyOwnerOptionsInternal, LobbyDetailsGetLobbyOwnerOptions>(ref optionsAddress, options);

            var funcResult = EOS_LobbyDetails_GetLobbyOwner(InnerHandle, optionsAddress);

            Helper.TryMarshalDispose(ref optionsAddress);

            ProductUserId funcResultReturn;

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