iterateOverProperties

This function iterated over all available attributes of a specific given entity. This call is typically used in combination with iterateOverInstances(..).

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);
			}
		}    

Property entity

Size: 64 bit / 8 byte (value)
...

Property index

Size: 64 bit / 8 byte (value)
...