Firstborn/Library/PackageCache/com.unity.ads@3.7.5/Runtime/Monetization/UnityServicesErrorEventArgs.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

24 lines
622 B
C#

using System;
namespace UnityEngine.Monetization
{
public class UnityServicesErrorEventArgs : EventArgs
{
// error is not mapped to an enum as it is not exposed to public API, can be changed later
public long error { get; private set; }
public string message { get; private set; }
public UnityServicesErrorEventArgs(string message)
{
error = -1;
this.message = message;
}
public UnityServicesErrorEventArgs(long error, string message)
{
this.error = error;
this.message = message;
}
}
}