Prerequisites
Prerequisites are used throughout the SDK to model the different conditions a certain feature has to meet in order for it to be valid.
For example, if we want to show an offer only to users who are spenders in the game, we would add a Flag Prerequisite to that offer, with the key set to IsSpender and it will only show the offer if the prerequisite is evaluated to true.
Custom prerequisites
If you need to create a custom prerequisite in your game, just extend the class IPrerequisite and override the method Check().
Note
If you create a custom prerequisite, in the $type you need to use the following format [ClassName], Assembly-CSharp.
List of Prerequisites