Table of Contents

Event OnServerCharacterSave

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Called when the server is about to save a character to the server vault.
This is called once for every character when the server is exiting, when a player leaves the server, or when ExportSingleCharacter() & ExportAllCharacters() is called.
This event can be skipped to prevent the character from being saved.

public event Action<OnServerCharacterSave> OnServerCharacterSave

Returns

Action<OnServerCharacterSave>
Called when the server is about to save a character to the server vault. This is called once for every character when the server is exiting, when a player leaves the server, or when ExportSingleCharacter() & ExportAllCharacters() is called. This event can be skipped to prevent the character from being saved.