Modifiable Int and Float type

When using the modifiable int and float type you can add additional modifiers to the base value. When getting a value it will be modified by the modifiers which are enabled.

Enable Modifier through code:

    var _health = data.GetData<IntWithModifiersType>("Table", "Entry" "Health");
    _health.Modifiers("Shield", true); // enable shield modifier


Here we have a health value which is set to 100. Additionally we have added one modifier called "Shield" which adds 50.

So when returning the health value and modifier is enabled, Databox will return 150 instead of 100.