Table of Contents

Class MtProperty

Namespace
SharpPluginLoader.Core
Assembly
SharpPluginLoader.Core.dll

Represents a property of a MtObject.

public class MtProperty : NativeWrapper
Inheritance
MtProperty
Inherited Members

Constructors

MtProperty()

public MtProperty()

MtProperty(nint)

public MtProperty(nint instance)

Parameters

instance nint

Properties

Attr

The attributes of the property.

public uint Attr { get; }

Property Value

uint

Comment

An optional comment for the property.

public string Comment { get; }

Property Value

string

Get

The getter method of the property. (If it has one)

public nint Get { get; }

Property Value

nint

GetCount

The GetCount method of the property. (If it is a dynamic array)

public nint GetCount { get; }

Property Value

nint

Hash

The hash of the property's name.

public uint Hash { get; }

Property Value

uint

HashName

Returns the comment if it exists, otherwise returns the name.

public string HashName { get; }

Property Value

string

Remarks

Whatever this property returns is used for hash lookups.

Index

public uint Index { get; }

Property Value

uint

IsArray

public bool IsArray { get; }

Property Value

bool

IsProperty

public bool IsProperty { get; }

Property Value

bool

Name

The name of the property.

public string Name { get; }

Property Value

string

Next

The next property in the object's property list.

public MtProperty? Next { get; }

Property Value

MtProperty

Owner

The owning object of the property.

public MtObject? Owner { get; }

Property Value

MtObject

Previous

The previous property in the object's property list.

public MtProperty? Previous { get; }

Property Value

MtProperty

Realloc

The realloc method of the property. (If it is a dynamic array)

public nint Realloc { get; }

Property Value

nint

Set

The setter method of the property. (If it has one)

public nint Set { get; }

Property Value

nint

Type

The type of the property.

public PropType Type { get; }

Property Value

PropType