public static void Serialize_vci_playerSpawnPoint(JsonFormatter f, glTF_VCAST_vci_PlayerSpawnPoint value) { f.BeginMap(); if (true) { f.Key("order"); f.Value(value.order); } if (true) { f.Key("radius"); f.Value(value.radius); } f.EndMap(); }
public static glTF_VCAST_vci_PlayerSpawnPoint glTF_VCAST_vci_player_spawn_point_Deserializevci_playerSpawnPoint(JsonNode parsed) { var value = new glTF_VCAST_vci_PlayerSpawnPoint(); foreach (var kv in parsed.ObjectItems()) { var key = kv.Key.GetString(); if (key == "order") { value.order = kv.Value.GetInt32(); continue; } if (key == "radius") { value.radius = kv.Value.GetSingle(); continue; } } return(value); }