Class MelonGameAttribute
Inheritance
MelonGameAttribute
Assembly: RedLoader.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class MelonGameAttribute : Attribute
Constructors
MelonGameAttribute(string, string)
Declaration
public MelonGameAttribute(string developer = null, string name = null)
Parameters
Properties
Developer
Declaration
public string Developer { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Universal
If the Attribute is set as Universal or not.
Declaration
public bool Universal { get; }
Property Value
Methods
IsCompatible(MelonGameAttribute)
Returns true or false if the Game is compatible with this Assembly.
Declaration
public bool IsCompatible(MelonGameAttribute att)
Parameters
Returns
IsCompatible(string, string)
Returns true or false if the Game is compatible with this Assembly.
Declaration
public bool IsCompatible(string developer, string gameName)
Parameters
Returns
IsCompatibleBecauseUniversal(MelonGameAttribute)
Returns true or false if the Game is compatible with this Assembly specifically because of Universal Compatibility.
Declaration
public bool IsCompatibleBecauseUniversal(MelonGameAttribute att)
Parameters
Returns