|
Anvil
|
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.
More...
Inheritance diagram for Anvil.API.Events.OnServerCharacterSave:
Collaboration diagram for Anvil.API.Events.OnServerCharacterSave:Classes | |
| class | Factory |
Properties | |
| NwPlayer | Player = null! [get] |
| Gets the player that is being saved. | |
| bool | PreventSave [get, set] |
| Gets or sets a value indicating whether the character should be prevented from being saved. | |
Properties inherited from Anvil.API.Events.IEvent | |
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.