ShellParamList

Namespace: SharpPluginLoader.Core.Resources

Represents an instance of a rShellParamList resource (a .shll file)

public class ShellParamList : Resource

Inheritance ObjectNativeWrapperMtObjectResourceShellParamList

Properties

ShellCount

Gets the number of shells in this list.

public int ShellCount { get; }

Property Value

Int32

Shells

Gets all shells in this list.

public ShellParam[] Shells { get; }

Property Value

ShellParam[]

FilePath

Gets the file path of this resource without the extension.

public string FilePath { get; }

Property Value

String

FileExtension

Gets the file extension of this resource.

public string FileExtension { get; }

Property Value

String

RefCount

Gets the reference count of this resource. If the reference count reaches 0, the resource is unloaded.

public uint RefCount { get; }

Property Value

UInt32

Instance

The native pointer.

public nint Instance { get; set; }

Property Value

IntPtr

Constructors

ShellParamList(IntPtr)

public ShellParamList(nint instance)

Parameters

instance IntPtr

ShellParamList()

public ShellParamList()

Methods

GetShell(UInt32)

Gets a shell by its index.

public ShellParam GetShell(uint index)

Parameters

index UInt32

Returns

ShellParam
The shell at the given index, or null