Table of Contents

Struct DynamicVariableIdentity

Namespace
MonkeyLoader.Resonite
Assembly
MonkeyLoader.Resonite.Integration.dll

Fully describes the identity of a Dynamic Variable based on itsn Type, Name, and the Space it's a part of.

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

Constructors

DynamicVariableIdentity(DynamicVariableSpace, VariableIdentity)

Creates a new full Dynamic Variable identity for the given space.

public DynamicVariableIdentity(DynamicVariableSpace space, DynamicVariableSpace.VariableIdentity variableIdentity)

Parameters

space DynamicVariableSpace

The FrooxEngine.DynamicVariableSpace that this Dynamic Variable is a part of.

variableIdentity DynamicVariableSpace.VariableIdentity

The Dynamic Variable's identity within the given space.

DynamicVariableIdentity(DynamicVariableSpace, Type, string)

Creates a new Dynamic Variable identity with the given details.

public DynamicVariableIdentity(DynamicVariableSpace space, Type type, string name)

Parameters

space DynamicVariableSpace

The FrooxEngine.DynamicVariableSpace that this Dynamic Variable is a part of.

type Type

The Type of this Dynamic Variable.

name string

The name of this Dynamic Variable.

Properties

Name

Gets the name of this Dynamic Variable.

public string Name { get; }

Property Value

string

Space

Gets the FrooxEngine.DynamicVariableSpace that this Dynamic Variable is a part of.

public DynamicVariableSpace Space { get; }

Property Value

DynamicVariableSpace

Type

Gets the Type of this Dynamic Variable.

public Type Type { get; }

Property Value

Type

Methods

Equals(DynamicVariableIdentity)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DynamicVariableIdentity other)

Parameters

other DynamicVariableIdentity

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(DynamicVariableIdentity, DynamicVariableIdentity)

Determines whether two Dynamic Variable identities refer to the same exact one.

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

Parameters

left DynamicVariableIdentity

The first Dynamic Variable identity.

right DynamicVariableIdentity

The second Dynamic Varible identity.

Returns

bool

true if the identities are the same; otherwise, false.

operator !=(DynamicVariableIdentity, DynamicVariableIdentity)

Determines whether two Dynamic Variable identities refer to different ones.

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

Parameters

left DynamicVariableIdentity

The first Dynamic Variable identity.

right DynamicVariableIdentity

The second Dynamic Varible identity.

Returns

bool

true if the identities are different; otherwise, false.