Yandex Mobile Ads
Loading...
Searching...
No Matches
Reward.cs
Go to the documentation of this file.
1/*
2 * This file is a part of the Yandex Advertising Network
3 *
4 * Version for Unity (C) 2023 YANDEX
5 *
6 * You may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
8 */
9
10using System;
11
13{
17 public class Reward : EventArgs
18 {
22 public readonly int amount;
23
27 public readonly string type;
28
29 public Reward(int amount, string type){
30 this.amount = amount;
31 this.type = type;
32 }
33 }
34}
Represents reward given to the user.
Definition Reward.cs:18
Reward(int amount, string type)
Definition Reward.cs:29
readonly string type
Type of the reward.
Definition Reward.cs:27
readonly int amount
Amount rewarded to the user.
Definition Reward.cs:22