protected void finish(TypeNativeDataJSON result)
 {
     if (fieldGeneratorGameState.have_value)
     {
         result.setGameState(fieldGeneratorGameState.value);
         fieldGeneratorGameState.have_value = false;
     }
     else if ((!(result.hasGameState())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"GameState\" field was missing.");
     }
 }