Show / Hide Table of Contents

Class WeaverCharm

Used to add custom charms to the game

Inheritance
object
Object
ScriptableObject
WeaverCharm
Implements
IWeaverCharm
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance(string)
ScriptableObject.CreateInstance(Type)
ScriptableObject.CreateInstance<T>()
Namespace: WeaverCore.Features
Assembly: WeaverCore.dll
Syntax
[CreateAssetMenu(fileName = "WeaverCharm", menuName = "WeaverCore/Weaver Charm")]
public abstract class WeaverCharm : ScriptableObject, IWeaverCharm

Properties

| Edit this page View Source

Acquired

Gets or sets a value indicating whether the charm has been acquired.

Declaration
public virtual bool Acquired { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

AcquiredByDefault

Declaration
public bool AcquiredByDefault { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

CharmSprite

The sprite of the charm.

Declaration
public Sprite CharmSprite { get; }
Property Value
Type Description
Sprite
| Edit this page View Source

Description

The description of the charm.

Declaration
public abstract string Description { get; }
Property Value
Type Description
string
| Edit this page View Source

Equipped

Gets or sets a value indicating whether the charm is equipped.

Declaration
public virtual bool Equipped { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Name

The name of the charm.

Declaration
public abstract string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

NewlyCollected

Gets or sets a value indicating whether the charm has been newly collected.

Declaration
public virtual bool NewlyCollected { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

NotchCost

The notch cost of the charm.

Declaration
public abstract int NotchCost { get; }
Property Value
Type Description
int

Implements

IWeaverCharm

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾