Skip to main content
Version: 0.4.0

Class WukongArchetypes

Namespace: WukongMp.Sdk.Serverside
Assembly: WukongMp.Sdk.Serverside.dll

Provides references for core entity archetypes in WukongMP.

public static class WukongArchetypes

Inheritance

objectWukongArchetypes

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

ArchetypeId

GlobalPlayerArchetype

Global player entity archetype. Components:

  • PlayerScopeComponent
  • PlayerComponent
public static ArchetypeId GlobalPlayerArchetype { get; }

Property Value

ArchetypeId

MainCharacterArchetype

Area-scoped main character entity archetype. Components:

  • MainCharacterComponent
  • TransformComponent
  • HpComponent
  • NicknameComponent
  • TeamComponent
public static ArchetypeId MainCharacterArchetype { get; }

Property Value

ArchetypeId

TamerArchetype

Area-scoped tamer entity archetype. Components:

  • TamerComponent
  • TransformComponent
  • HpComponent
  • NicknameComponent
  • TeamComponent
  • AnimationComponent
  • MonsterAnimationComponent
public static ArchetypeId TamerArchetype { get; }

Property Value

ArchetypeId

WorldArchetype

public static ArchetypeId WorldArchetype { get; }

Property Value

ArchetypeId

  • Remarks
  • Properties
    • AreaArchetype
    • GlobalPlayerArchetype
    • MainCharacterArchetype
    • TamerArchetype
    • WorldArchetype