Table of Contents

Class RegionDefinition

Namespace
Playnite
Assembly
Playnite.SDK.dll
public class RegionDefinition : IEquatable<RegionDefinition>
Inheritance
RegionDefinition
Implements
Inherited Members

Constructors

RegionDefinition(string, string)

public RegionDefinition(string id, string name)

Parameters

id string
name string

RegionDefinition(string, string, ulong)

public RegionDefinition(string id, string name, ulong igdbId)

Parameters

id string
name string
igdbId ulong

RegionDefinition(string, string, ulong, HashSet<string>)

public RegionDefinition(string id, string name, ulong igdbId, HashSet<string> codes)

Parameters

id string
name string
igdbId ulong
codes HashSet<string>

RegionDefinition(string, string, ulong, HashSet<string>, bool)

public RegionDefinition(string id, string name, ulong igdbId, HashSet<string> codes, bool defaultImport)

Parameters

id string
name string
igdbId ulong
codes HashSet<string>
defaultImport bool

Properties

Codes

public HashSet<string> Codes { get; }

Property Value

HashSet<string>

DefaultImport

public bool DefaultImport { get; }

Property Value

bool

Id

public string Id { get; }

Property Value

string

IgdbId

public ulong IgdbId { get; }

Property Value

ulong

Name

public string Name { get; }

Property Value

string

Methods

Equals(RegionDefinition?)

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

public bool Equals(RegionDefinition? other)

Parameters

other RegionDefinition

An object to compare with this object.

Returns

bool

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

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.