Class CharacterPersistenceAttribute
- Namespace
- FishMMO.Server.Implementation.World.SceneServer
- Assembly
- FishMMO.Server.dll
Installs a CharacterPersistenceParticipant: [assembly: CharacterPersistence(typeof(MyParticipant))].
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class CharacterPersistenceAttribute : Attribute
- Inheritance
-
CharacterPersistenceAttribute
- Inherited Members
Constructors
CharacterPersistenceAttribute(Type)
Installs participantType.
public CharacterPersistenceAttribute(Type participantType)
Parameters
participantTypeType
Properties
ParticipantType
The participant's type.
public Type ParticipantType { get; }