Class PlatformDefinition
- Namespace
- Playnite
- Assembly
- Playnite.SDK.dll
public class PlatformDefinition : IEquatable<PlatformDefinition>
- Inheritance
-
PlatformDefinition
- Implements
- Inherited Members
Constructors
PlatformDefinition(string, string)
public PlatformDefinition(string id, string name)
Parameters
PlatformDefinition(string, string, ulong)
public PlatformDefinition(string id, string name, ulong igdbId)
Parameters
Properties
Id
public string Id { get; }
Property Value
IgdbId
public ulong IgdbId { get; }
Property Value
Name
public string Name { get; }
Property Value
Methods
Equals(PlatformDefinition?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PlatformDefinition? other)
Parameters
otherPlatformDefinitionAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
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.