I am planning on storing my ability data in JSON (I thought about CSV but was afraid of limiting myself to flat data).
When I execute an ability I want to look it up in a “lookup table” similar to how the CSV examples do.
This way I reuse abilities across Characters and also chain the abilities together to form combos abilities.
I found the FJsonSerializer deserialize and getstringfield stuff.
if ( FJsonSerializer::Deserialize( Reader, JsonObject ) )
{
JsonObject->GetStringField( TEXT("Name"));
}
But how could I create a “lookup table” for which I could query against when I execute an ability?
Or is JsonObject the lookup table in this case?