43 lines
711 B
C#
43 lines
711 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Gaia
|
|
{
|
|
[Serializable]
|
|
public class GaiaOperation
|
|
{
|
|
public enum OperationType
|
|
{
|
|
CreateTerrain = 0,
|
|
FlattenTerrain = 1,
|
|
SmoothTerrain = 2,
|
|
ClearDetails = 3,
|
|
ClearTrees = 4,
|
|
Stamp = 5,
|
|
StampUndo = 6,
|
|
StampRedo = 7,
|
|
Spawn = 8,
|
|
SpawnReset = 9
|
|
}
|
|
|
|
public string m_description;
|
|
|
|
public OperationType m_operationType;
|
|
|
|
public bool m_isActive = true;
|
|
|
|
public string m_generatedByName;
|
|
|
|
public string m_generatedByID;
|
|
|
|
public string m_generatedByType;
|
|
|
|
public string m_operationDateTime = DateTime.Now.ToString();
|
|
|
|
[HideInInspector]
|
|
public string[] m_operationDataJson = new string[0];
|
|
|
|
public bool m_isFoldedOut;
|
|
}
|
|
}
|