Table of Contents

Class CharacterPartAttribute

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Declares a CharacterPart and which characters get it.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class CharacterPartAttribute : Attribute
Inheritance
CharacterPartAttribute
Inherited Members

Constructors

CharacterPartAttribute(Type, Type)

public CharacterPartAttribute(Type partType, Type appliesTo)

Parameters

partType Type
appliesTo Type

Properties

AppliesTo

Characters that are this type (class or interface) get the part, for example IPlayerCharacter.

public Type AppliesTo { get; }

Property Value

Type

PartType

The part's type (a CharacterPart).

public Type PartType { get; }

Property Value

Type