// System using System; namespace GUPS.AntiCheat.Protected.Prefs { /// /// Provides an interface for accessing protected player preferences via properties, offering a more structured approach than /// interacting directly with the static ProtectedPlayerPrefs class. Also allows to easily assign the protected player preferences /// in the unity inspector. /// /// The type of the value stored in the protected player preferences. /// /// /// Implementing classes should handle the mapping between the generic type and the actual storage and retrieval of values in the player preferences. /// /// public interface IProtectedPref { /// /// Gets the unique key associated with the player preference. /// String Key { get; } /// /// Gets or sets the value of the player preference. /// T Value { get; set; } } }