Skip to content

Get Sansar

Script API

ScriptBase.ScopedLock

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Class Namespace Sansar.Script Inherits IDisposable

Returned from ScriptBase.Lock for use in using statements.

public class ScriptBase.ScopedLock : IDisposable

Remarks

Do not save or store a ScopedLock outside of a using statement.

Members at a glance

KindMembers
MethodsDispose · Finalize

Methods

Dispose

public void Dispose()

Releases the lock being held.

Finalize

void Finalize()

Internal use only

Remarks

Finalizer will not release any locks still held. Use ScopedLock only in using statements.

Generated from the Sansar 47.10.0 client ScriptApi snapshot.