Class WukongArchetypes
Namespace: WukongMp.Sdk.Api.Implementation
Assembly: WukongMp.Sdk.dll
Provides references for core entity archetypes in WukongMP.
public 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. Ids 2 and 3 belong to the cell and world archetypes, which Wukong does not use but still registers on both sides so that everything after them lines up. Do not close the gap.
Constructors
WukongArchetypes()
public WukongArchetypes()
Properties
AreaArchetype
public ArchetypeId AreaArchetype { get; }
Property Value
GlobalPlayerArchetype
Global player entity archetype.
Components:
- PlayerScopeComponent
- PlayerComponent
public ArchetypeId GlobalPlayerArchetype { get; }
Property Value
MainCharacterArchetype
Area-scoped main character entity archetype.
Components:
- MainCharacterComponent
- TransformComponent
- HpComponent
- NicknameComponent
- TeamComponent
- PvPComponent
public ArchetypeId MainCharacterArchetype { get; }
Property Value
PvpStateArchetype
Global PvP state entity archetype. Used by the PvP mod.
Components:
- PvpStateComponent
[Obsolete("Will be moved to the PvP mod in future refactoring.")]
public ArchetypeId PvpStateArchetype { get; }
Property Value
TamerArchetype
Area-scoped tamer entity archetype.
Components:
- TamerComponent
- TransformComponent
- HpComponent
- NicknameComponent
- TeamComponent
- AnimationComponent
- MonsterAnimationComponent
public ArchetypeId TamerArchetype { get; }
Property Value
WorldArchetype
public ArchetypeId WorldArchetype { get; }