tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.IO.ResourcePackVersion Struct Reference

Inherits IComparable, and IComparable< ResourcePackVersion >.

Public Member Functions

int CompareTo (object obj)
 
int CompareTo (ResourcePackVersion other)
 
override bool Equals (object obj)
 
string GetFormattedVersion ()
 
override int GetHashCode ()
 

Static Public Member Functions

static ResourcePackVersion Create (int major, int minor)
 
static bool operator!= (ResourcePackVersion lhs, ResourcePackVersion rhs)
 
static bool operator< (ResourcePackVersion lhs, ResourcePackVersion rhs)
 
static bool operator== (ResourcePackVersion lhs, ResourcePackVersion rhs)
 
static bool operator> (ResourcePackVersion lhs, ResourcePackVersion rhs)
 

Properties

int Major [get]
 
int Minor [get]