Table of Contents

Struct PathCost

Namespace
Global
Assembly
Assembly-CSharp.dll
public struct PathCost
Inherited Members

Constructors

PathCost(float, Legality)

public PathCost(float resistance, PathCost.Legality legality)

Parameters

resistance float
legality PathCost.Legality

Fields

legality

public PathCost.Legality legality

Field Value

PathCost.Legality

resistance

public float resistance

Field Value

float

Properties

Allowed

public bool Allowed { get; }

Property Value

bool

Considerable

public bool Considerable { get; }

Property Value

bool

Methods

Equals(PathCost)

public bool Equals(PathCost pathCost)

Parameters

pathCost PathCost

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 +(PathCost, PathCost)

public static PathCost operator +(PathCost a, PathCost b)

Parameters

a PathCost
b PathCost

Returns

PathCost

operator ==(PathCost, PathCost)

public static bool operator ==(PathCost a, PathCost b)

Parameters

a PathCost
b PathCost

Returns

bool

operator >(PathCost, PathCost)

public static bool operator >(PathCost a, PathCost b)

Parameters

a PathCost
b PathCost

Returns

bool

operator >=(PathCost, PathCost)

public static bool operator >=(PathCost a, PathCost b)

Parameters

a PathCost
b PathCost

Returns

bool

operator !=(PathCost, PathCost)

public static bool operator !=(PathCost a, PathCost b)

Parameters

a PathCost
b PathCost

Returns

bool

operator <(PathCost, PathCost)

public static bool operator <(PathCost a, PathCost b)

Parameters

a PathCost
b PathCost

Returns

bool

operator <=(PathCost, PathCost)

public static bool operator <=(PathCost a, PathCost b)

Parameters

a PathCost
b PathCost

Returns

bool

operator *(PathCost, float)

public static PathCost operator *(PathCost a, float b)

Parameters

a PathCost
b float

Returns

PathCost