r2mods/ilspy_dump/ror2_csproj/RoR2/RegisterAchievementAttribut...

28 lines
834 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using System;
using JetBrains.Annotations;
namespace RoR2;
[MeansImplicitUse]
public class RegisterAchievementAttribute : Attribute
{
public readonly string identifier;
public readonly string unlockableRewardIdentifier;
public readonly string prerequisiteAchievementIdentifier;
public readonly uint lunarCoinReward;
public readonly Type serverTrackerType;
public RegisterAchievementAttribute([NotNull] string identifier, string unlockableRewardIdentifier, string prerequisiteAchievementIdentifier, uint lunarCoinReward, Type serverTrackerType = null)
{
this.identifier = identifier;
this.unlockableRewardIdentifier = unlockableRewardIdentifier;
this.prerequisiteAchievementIdentifier = prerequisiteAchievementIdentifier;
this.lunarCoinReward = lunarCoinReward;
this.serverTrackerType = serverTrackerType;
}
}