コード例 #1
0
ファイル: ItemData.cs プロジェクト: zunath/Ceriyo
 /// <summary>
 /// Constructs a new item data object.
 /// </summary>
 public ItemData()
 {
     GlobalID            = Guid.NewGuid().ToString();
     LocalVariables      = new LocalVariableData();
     ClassRequirements   = new List <ClassRequirementData>();
     ItemPropertyResrefs = new List <string>();
 }
コード例 #2
0
ファイル: ModuleData.cs プロジェクト: zunath/Ceriyo
        /// <summary>
        /// Constructs a new module data object.
        /// </summary>
        public ModuleData()
        {
            GlobalID = Guid.NewGuid().ToString();

            AbilityIDs = new List<string>();
            ClassIDs = new List<string>();
            CreatureIDs = new List<string>();
            ItemIDs = new List<string>();
            ItemPropertyIDs = new List<string>();
            PlaceableIDs = new List<string>();
            ScriptIDs = new List<string>();
            SkillIDs = new List<string>();
            TilesetIDs = new List<string>();
            MaxLevel = 99;
            LocalVariables = new LocalVariableData();
            LevelChart = new LevelChartData();
            ResourcePacks = new List<string>();
        }
コード例 #3
0
 /// <summary>
 /// Constructs a new creature data object.
 /// </summary>
 public CreatureData()
 {
     GlobalID       = Guid.NewGuid().ToString();
     LocalVariables = new LocalVariableData();
     Level          = 1;
 }
コード例 #4
0
 /// <summary>
 /// Constructs a new area data object.
 /// </summary>
 public AreaData()
 {
     GlobalID       = Guid.NewGuid().ToString();
     LocalVariables = new LocalVariableData();
     TileAtlas      = new TileAtlasData();
 }
コード例 #5
0
ファイル: PlaceableData.cs プロジェクト: zunath/Ceriyo
 /// <summary>
 /// Constructs a new placeable data object.
 /// </summary>
 public PlaceableData()
 {
     GlobalID       = Guid.NewGuid().ToString();
     LocalVariables = new LocalVariableData();
 }