SquareDash/Library/PackageCache/com.unity.services.mediation@1.0.5/Runtime/Api/Public/RewardEventArgs.cs
kingjuulian06 0efb85038a Arbeit 2
2023-11-21 22:03:49 +01:00

32 lines
792 B
C#

using System;
namespace Unity.Services.Mediation
{
/// <summary>
/// Reward Event Arguments.
/// </summary>
public class RewardEventArgs : EventArgs
{
/// <summary>
/// Reward Type for Rewarded Ad Event.
/// </summary>
public string Type { get; }
/// <summary>
/// Reward Amount for Rewarded Ad Event.
/// </summary>
public string Amount { get; }
/// <summary>
/// Constructor for Arguments for Rewarded Event.
/// </summary>
/// <param name="type">Type of Reward.</param>
/// <param name="amount">Amount of Reward.</param>
public RewardEventArgs(string type, string amount)
{
Type = type;
Amount = amount;
}
}
}