Table of Contents

Struct StoryEventValue

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

One value of a story event, named as the game names it and read as its kind directs.

public readonly struct StoryEventValue : IEquatable<StoryEventValue>
Implements
Inherited Members

Properties

Form

The form, and null where this value is of another kind or the game passed none.

public Form? Form { get; }

Property Value

Form?

Keyword

The keyword, and null where this value is of another kind or the game passed none.

public Keyword? Keyword { get; }

Property Value

Keyword?

Kind

The kind of value, which decides which of Number, Reference, Form, Location, and Keyword is set.

public StoryEventValueKind Kind { get; }

Property Value

StoryEventValueKind

Location

The location, and null where this value is of another kind or the game passed none.

public Location? Location { get; }

Property Value

Location?

Name

The name the game gives this value, such as "Workbench" or "Crime Gold".

public string Name { get; }

Property Value

string

Number

The number, and 0 for every other kind.

public long Number { get; }

Property Value

long

Reference

The reference, and null where this value is of another kind or the game passed none.

public ObjectReference? Reference { get; }

Property Value

ObjectReference?

Methods

Equals(StoryEventValue)

public bool Equals(StoryEventValue other)

Parameters

other StoryEventValue

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(StoryEventValue, StoryEventValue)

public static bool operator ==(StoryEventValue left, StoryEventValue right)

Parameters

left StoryEventValue
right StoryEventValue

Returns

bool

operator !=(StoryEventValue, StoryEventValue)

public static bool operator !=(StoryEventValue left, StoryEventValue right)

Parameters

left StoryEventValue
right StoryEventValue

Returns

bool