Class WukongArchetypes
Namespace: WukongMp.Sdk.Serverside
Assembly: WukongMp.Sdk.Serverside.dll
Provides references for core entity archetypes in WukongMP.
public static class WukongArchetypes
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Ids are positional: they are handed out in the order archetypes are registered, and the client and the relay server have to agree.
Properties
AreaArchetype
public static ArchetypeId AreaArchetype { get; }
Property Value
GlobalPlayerArchetype
Global player entity archetype.
Components:
- PlayerScopeComponent
- PlayerComponent
public static ArchetypeId GlobalPlayerArchetype { get; }
Property Value
MainCharacterArchetype
Area-scoped main character entity archetype.
Components:
- MainCharacterComponent
- TransformComponent
- HpComponent
- NicknameComponent
- TeamComponent
public static ArchetypeId MainCharacterArchetype { get; }
Property Value
TamerArchetype
Area-scoped tamer entity archetype.
Components:
- TamerComponent
- TransformComponent
- HpComponent
- NicknameComponent
- TeamComponent
- AnimationComponent
- MonsterAnimationComponent
public static ArchetypeId TamerArchetype { get; }
Property Value
WorldArchetype
public static ArchetypeId WorldArchetype { get; }