You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PlumberUltimateAds/Assets/IronSource/Scripts/IronSourcePlacement.cs

38 lines
639 B
C#

using System;
public class IronSourcePlacement
{
private string rewardName;
private int rewardAmount;
private string placementName;
public IronSourcePlacement (string placementName, string rewardName, int rewardAmount)
{
this.placementName = placementName;
this.rewardName = rewardName;
this.rewardAmount = rewardAmount;
}
public string getRewardName ()
{
return rewardName;
}
public int getRewardAmount ()
{
return rewardAmount;
}
public string getPlacementName ()
{
return placementName;
}
public override string ToString ()
{
return placementName + " : " + rewardName + " : " + rewardAmount;
}
}