Interface ICharacterPersistenceHost
- Namespace
- FishMMO.Server.Implementation.World.SceneServer
- Assembly
- FishMMO.Server.dll
What the character save and load lend a CharacterPersistenceParticipant: the database services, the main thread, and the characters resident on this server.
public interface ICharacterPersistenceHost
Properties
Services
The database services, or null when the server has no database.
IDatabaseServiceRegistry Services { get; }
Property Value
Methods
TryEnqueueMainThread(Action)
Runs action on the main thread; false when the queue refused it.
bool TryEnqueueMainThread(Action action)
Parameters
actionAction
Returns
TryGetResidentCharacter(long, out IPlayerCharacter)
The character with characterID, while it is resident here.
bool TryGetResidentCharacter(long characterID, out IPlayerCharacter character)
Parameters
characterIDlongcharacterIPlayerCharacter
Returns
TryGetSystem<T>(out T)
A server system on this server, by its contract (a party participant reaches the party system).
bool TryGetSystem<T>(out T system) where T : class, IServerBehaviour
Parameters
systemT
Returns
Type Parameters
T