Class SynchronizationManager
Manager for handling synchronisation between client and server instances.
Inheritance
System.Object
SynchronizationManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Managers
Assembly: Jotunn.dll
Syntax
public class SynchronizationManager : IManager
Properties
| Improve this Doc View SourceInstance
Singleton instance
Declaration
public static SynchronizationManager Instance { get; }
Property Value
Type | Description |
---|---|
SynchronizationManager |
PlayerIsAdmin
Clientside indicator if the current player has admin status on
the current world, always true on local games
Declaration
public bool PlayerIsAdmin { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceInit()
Manager's main init
Declaration
public void Init()
Events
| Improve this Doc View SourceOnAdminStatusChanged
Event triggered after a clients admin status changed on the server
Declaration
public static event Action OnAdminStatusChanged
Event Type
Type | Description |
---|---|
System.Action |
OnConfigurationSynchronized
Event triggered after server configuration is applied to client
Declaration
public static event EventHandler<ConfigurationSynchronizationEventArgs> OnConfigurationSynchronized
Event Type
Type | Description |
---|---|
System.EventHandler<ConfigurationSynchronizationEventArgs> |