engiGetEntityAttributeIndexEx
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "engiGetEntityAttributeIndexEx")] public static extern Int32 x86_engiGetEntityAttributeIndexEx(Int32 entity, string attributeName, bool countedWithParents, bool countedWithInverse); [DllImport(enginedll, EntryPoint = "engiGetEntityAttributeIndexEx")] public static extern Int32 x64_engiGetEntityAttributeIndexEx(Int64 entity, string attributeName, bool countedWithParents, bool countedWithInverse); public static Int32 engiGetEntityAttributeIndexEx(Int64 entity, string attributeName, bool countedWithParents, bool countedWithInverse) { if (IntPtr.Size == 4) { var _result = x86_engiGetEntityAttributeIndexEx((Int32)entity, attributeName, countedWithParents, countedWithInverse); return _result; } else { return x64_engiGetEntityAttributeIndexEx(entity, attributeName, countedWithParents, countedWithInverse); } } [DllImport(enginedll, EntryPoint = "engiGetEntityAttributeIndexEx")] public static extern Int32 x86_engiGetEntityAttributeIndexEx(Int32 entity, byte[] attributeName, bool countedWithParents, bool countedWithInverse); [DllImport(enginedll, EntryPoint = "engiGetEntityAttributeIndexEx")] public static extern Int32 x64_engiGetEntityAttributeIndexEx(Int64 entity, byte[] attributeName, bool countedWithParents, bool countedWithInverse); public static Int32 engiGetEntityAttributeIndexEx(Int64 entity, byte[] attributeName, bool countedWithParents, bool countedWithInverse) { if (IntPtr.Size == 4) { var _result = x86_engiGetEntityAttributeIndexEx((Int32)entity, attributeName, countedWithParents, countedWithInverse); return _result; } else { return x64_engiGetEntityAttributeIndexEx(entity, attributeName, countedWithParents, countedWithInverse); } }
Property entity
Size: 32 bit / 4 byte (value)Property attributeName
Size: 32 bit / 4 byte (reference)Property countedWithParents
Size: 8 bit / 1 byte (value)???.
Property countedWithInverse
Size: 8 bit / 1 byte (value)???.