swiftlys2/docs/api/ai/
API Reference Schemas

SchemaUntypedField

Class
Namespace: SwiftlyS2.Shared.Schemas · Assembly: SwiftlyS2.CS2.dll
public class SchemaUntypedField : ISchemaClass<SchemaUntypedField>, ISchemaField, ISchemaClass, INativeHandle
Inherits object
Implements ISchemaClass<SchemaUntypedField>, ISchemaField, ISchemaClass, INativeHandle
View source

Constructors

SchemaUntypedField(nint)

public SchemaUntypedField(nint handle)
Parameters

Properties

Address

Dangerous method to get the memory address of the object

public nint Address { get; }
Property Value

IsValid

Return whether a handle is valid. Still might be dangerous for some pointer that borrowed from game instead of allocated by ourselves.

public bool IsValid { get; }
Property Value

Methods

DangerousSetHandle(nint)

public void DangerousSetHandle(nint handle)
Parameters

From(nint)

public static SchemaUntypedField From(nint handle)
Parameters