GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • S1API

This view

  • Original page
  • New address

GeezerVison is showing ifbars.github.io — Struct FullRank | S1API Documentation

Table of Contents

Struct FullRank

Namespace
S1API.Leveling
Assembly
S1API.dll

Represents a rank/tier combination.

public readonly struct FullRank : IEquatable<FullRank>, IComparable<FullRank>
Implements
IEquatable<FullRank>
IComparable<FullRank>
Inherited Members
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Extension Methods
ReflectionUtils.GetValueTupleItems(object)
ReflectionUtils.IsValueTuple(object)

Constructors

FullRank(Rank, int)

Creates a rank/tier combination.

public FullRank(Rank rank, int tier)

Parameters

rank Rank

Player rank.

tier int

Tier within the rank (1-5 for most ranks).

Properties

Rank

Rank component.

public Rank Rank { get; }

Property Value

Rank

Tier

Tier component (1-5 for most ranks, unlimited for Kingpin).

public int Tier { get; }

Property Value

int

Methods

CompareTo(FullRank)

public int CompareTo(FullRank other)

Parameters

other FullRank

Returns

int

Equals(FullRank)

public bool Equals(FullRank other)

Parameters

other FullRank

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetRankIndex()

Returns an index useful for UI progress (0..N).

public int GetRankIndex()

Returns

int

NextRank()

Returns the next rank/tier (rolls into the next rank after tier 5).

public FullRank NextRank()

Returns

FullRank

ToFloat()

Converts the rank to a float for interpolation logic.

public float ToFloat()

Returns

float

ToString()

public override string ToString()

Returns

string

Operators

operator ==(FullRank, FullRank)

Equality check.

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

Parameters

a FullRank
b FullRank

Returns

bool

operator >(FullRank, FullRank)

Greater-than comparison helper.

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

Parameters

a FullRank
b FullRank

Returns

bool

operator >=(FullRank, FullRank)

Greater-or-equal comparison helper.

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

Parameters

a FullRank
b FullRank

Returns

bool

operator !=(FullRank, FullRank)

Inequality check.

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

Parameters

a FullRank
b FullRank

Returns

bool

operator <(FullRank, FullRank)

Less-than comparison helper.

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

Parameters

a FullRank
b FullRank

Returns

bool

operator <=(FullRank, FullRank)

Less-or-equal comparison helper.

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

Parameters

a FullRank
b FullRank

Returns

bool
Edit this page
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.