Beispiel #1
0
        internal FunctionStack(IntPtr implPtr)
        {
            mImplementPtr = implPtr;

            mReturnType   = ConversationAPI.GetFunctionStackPreferReturnType(ImplementPtr);
            mMaxParamType = ConversationAPI.GetFunctionStackMaxParamType(ImplementPtr);
            mParamCount   = ConversationAPI.GetFunctionStackParamCount(ImplementPtr);
            for (int i = 0; i < ParamCount; i++)
            {
                mParamTypes.Add(ConversationAPI.GetFunctionStackParamTypeByIndex(ImplementPtr, i));
            }
        }