Show / Hide Table of Contents

Class Symbol

Manages a text symbol used by quest system. Symbols are used by resources, tasks, and text replacement.

Inheritance
Object
Symbol
Namespace: DaggerfallWorkshop.Game.Questing
Assembly: Assembly-CSharp.dll
Syntax
public class Symbol

Constructors

| Improve this Doc View Source

Symbol()

Default constructor.

Declaration
public Symbol()
| Improve this Doc View Source

Symbol(String)

Set symbol constructor.

Declaration
public Symbol(string original)
Parameters
Type Name Description
String original

Symbol text from source.

Properties

| Improve this Doc View Source

Name

Gets name of symbol stripped to inner symbol name only. This is what should be used by quest system.

Declaration
public string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Original

Gets original symbol at time it was set from source. This is used for serialization/deserialization only.

Declaration
public string Original { get; set; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

Clone()

Clone this symbol.

Declaration
public Symbol Clone()
Returns
Type Description
Symbol

New Symbol with same details as this one.

| Improve this Doc View Source

Equals(Object)

Compare value equality with another symbol.

Declaration
public override bool Equals(object other)
Parameters
Type Name Description
Object other

Other symbol.

Returns
Type Description
Boolean

True is values match.

Overrides
Object.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Override of GetHashCode. Name is most important value. Original is only serialized for reference.

Declaration
public override int GetHashCode()
Returns
Type Description
Int32

Name.GetHashCode()

Overrides
Object.GetHashCode()
| Improve this Doc View Source

GetValue()

Gets original value.

Declaration
public string GetValue()
Returns
Type Description
String

Symbol text from source.

| Improve this Doc View Source

SetValue(String)

Set symbol original value. Name value is derived from inner text.

Declaration
public void SetValue(string original)
Parameters
Type Name Description
String original

Symbol text from source.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX