This commit is contained in:
2025-01-17 13:10:42 +01:00
commit 4536213c91
15115 changed files with 1442174 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using System;
using Unity.Multiplayer.Center.Common;
using UnityEngine;
namespace Unity.Multiplayer.Center.Questionnaire
{
/// <summary>
/// The predefined answers for presets. This is meant to be read only and saved with the questionnaire
/// </summary>
[Serializable]
internal class PresetData
{
/// <summary>
/// The list of presets for which we have predefined answers (hopefully all possible values except None)
/// This should contain as many values as the <see cref="Answers"/> array.
/// </summary>
public Preset[] Presets;
/// <summary>
/// The predefined answers for each preset, in the same order as <see cref="Presets"/>.
/// This should contain as many values as the <see cref="Presets"/> array.
/// </summary>
public AnswerData[] Answers;
}
}