Пример #1
0
        /// <description>
        /// Return the type descriptor for the type the object is an instance of.
        /// </description>
        /// <returns>The type descriptor for the object's dynamic type.</returns>
        public EngineTypeInfo GetType()
        {
            InternalUnsafeMethods.GetType__Args _args = new InternalUnsafeMethods.GetType__Args()
            {
            };
            IntPtr _engineResult = InternalUnsafeMethods.GetType()(ObjectPtr, _args);

            return(new EngineTypeInfo(_engineResult));
        }
Пример #2
0
        /// <description>
        /// () Get message type (script class name or C++ class name if no script defined class)
        /// </description>
        public string GetType()
        {
            InternalUnsafeMethods.GetType__Args _args = new InternalUnsafeMethods.GetType__Args()
            {
            };
            IntPtr _engineResult = InternalUnsafeMethods.GetType()(ObjectPtr, _args);

            return(StringMarshal.IntPtrToUtf8String(_engineResult));
        }
Пример #3
0
        /// <description>
        /// Return the type mask for this object.
        /// </description>
        /// <returns>The numeric type mask for the object.</returns>
        public int GetType()
        {
            InternalUnsafeMethods.GetType__Args _args = new InternalUnsafeMethods.GetType__Args()
            {
            };
            int _engineResult = InternalUnsafeMethods.GetType()(ObjectPtr, _args);

            return(_engineResult);
        }