using System;

namespace Editor.GON.WorldEditor
{
    public enum WorldValidationSeverity
    {
        Warning = 0,
        Error = 1
    }

    [Serializable]
    public sealed class WorldValidationMessage
    {
        public WorldValidationSeverity severity;
        public string message;
        public string objectId;

        public WorldValidationMessage(WorldValidationSeverity severity, string message, string objectId = null)
        {
            this.severity = severity;
            this.message = message;
            this.objectId = objectId;
        }
    }
}
