Table of Contents

Struct SunVoxVersion

Namespace
SunSharp
Assembly
SunSharp.dll

Represents the version of the SunVox library.

public readonly struct SunVoxVersion

Constructors

SunVoxVersion(byte, byte, byte, byte)

public SunVoxVersion(byte major, byte minor, byte minor2, byte bugfix)

Parameters

major byte
minor byte
minor2 byte
bugfix byte

Properties

Bugfix

public byte Bugfix { get; }

Property Value

byte

Major

public byte Major { get; }

Property Value

byte

Minor

public byte Minor { get; }

Property Value

byte

Minor2

public byte Minor2 { get; }

Property Value

byte

Methods

Equals(SunVoxVersion)

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

public bool Equals(SunVoxVersion other)

Parameters

other SunVoxVersion

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.

FromLibraryVersion(int)

public static SunVoxVersion FromLibraryVersion(int code)

Parameters

code int

Returns

SunVoxVersion

FromProjectBaseVersion(int)

public static SunVoxVersion FromProjectBaseVersion(int code)

Parameters

code int

Returns

SunVoxVersion

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 ==(SunVoxVersion, SunVoxVersion)

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

Parameters

left SunVoxVersion
right SunVoxVersion

Returns

bool

operator !=(SunVoxVersion, SunVoxVersion)

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

Parameters

left SunVoxVersion
right SunVoxVersion

Returns

bool