跳到主要内容
版本:0.3.1

Class WukongArchetypes

Namespace: WukongMp.Sdk.Api.Implementation
Assembly: WukongMp.Sdk.dll

Provides references for core entity archetypes in WukongMP.

public 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()

Constructors

WukongArchetypes()

public WukongArchetypes()

Properties

AreaArchetype

public ArchetypeId AreaArchetype { get; }

Property Value

ArchetypeId

GlobalPlayerArchetype

Global player entity archetype. Components:

  • PlayerScopeComponent
  • PlayerComponent
public ArchetypeId GlobalPlayerArchetype { get; }

Property Value

ArchetypeId

MainCharacterArchetype

Area-scoped main character entity archetype. Components:

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

Property Value

ArchetypeId

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

ArchetypeId

TamerArchetype

Area-scoped tamer entity archetype. Components:

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

Property Value

ArchetypeId

  • Constructors
    • WukongArchetypes()
  • Properties
    • AreaArchetype
    • GlobalPlayerArchetype
    • MainCharacterArchetype
    • PvpStateArchetype
    • TamerArchetype