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
Comment
An optional comment for the property.
public string Comment { get; }
Property Value
Get
The getter method of the property. (If it has one)
public nint Get { get; }
Property Value
GetCount
The GetCount method of the property. (If it is a dynamic array)
public nint GetCount { get; }
Property Value
Hash
The hash of the property's name.
public uint Hash { get; }
Property Value
HashName
Returns the comment if it exists, otherwise returns the name.
public string HashName { get; }
Property Value
Remarks
Whatever this property returns is used for hash lookups.
Index
public uint Index { get; }
Property Value
IsArray
public bool IsArray { get; }
Property Value
IsProperty
public bool IsProperty { get; }
Property Value
Name
The name of the property.
public string Name { get; }
Property Value
Next
The next property in the object's property list.
public MtProperty? Next { get; }
Property Value
Owner
The owning object of the property.
public MtObject? Owner { get; }
Property Value
Previous
The previous property in the object's property list.
public MtProperty? Previous { get; }
Property Value
Realloc
The realloc method of the property. (If it is a dynamic array)
public nint Realloc { get; }
Property Value
Set
The setter method of the property. (If it has one)
public nint Set { get; }
Property Value
Type
The type of the property.
public PropType Type { get; }