public void Set(TransactionGetEntitlementsCountOptions other)
 {
     if (other != null)
     {
         m_ApiVersion = Transaction.TransactionGetentitlementscountApiLatest;
     }
 }
Пример #2
0
        /// <summary>
        /// Fetch the number of entitlements that are part of this transaction.
        /// <seealso cref="CopyEntitlementByIndex" />
        /// </summary>
        /// <param name="options">structure containing the Epic Online Services Account ID being accessed</param>
        /// <returns>
        /// the number of entitlements found.
        /// </returns>
        public uint GetEntitlementsCount(TransactionGetEntitlementsCountOptions options)
        {
            System.IntPtr optionsAddress = new System.IntPtr();
            Helper.TryMarshalSet <TransactionGetEntitlementsCountOptionsInternal, TransactionGetEntitlementsCountOptions>(ref optionsAddress, options);

            var funcResult = EOS_Ecom_Transaction_GetEntitlementsCount(InnerHandle, optionsAddress);

            Helper.TryMarshalDispose(ref optionsAddress);

            return(funcResult);
        }