iterateOverProperties
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "iterateOverProperties")] public static extern Int64 x86_iterateOverProperties(Int32 entity, Int32 index); [DllImport(enginedll, EntryPoint = "iterateOverProperties")] public static extern Int64 x64_iterateOverProperties(Int64 entity, Int64 index); public static Int64 iterateOverProperties(Int64 entity, Int64 index) { if (IntPtr.Size == 4) { var _result = x86_iterateOverProperties((Int32)entity, (Int32)index); return _result; } else { return x64_iterateOverProperties(entity, index); } }