You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			256 lines
		
	
	
		
			7.7 KiB
		
	
	
	
		
			C#
		
	
		
		
			
		
	
	
			256 lines
		
	
	
		
			7.7 KiB
		
	
	
	
		
			C#
		
	
| 
											2 years ago
										 | //------------------------------------------------------------------------------ | ||
|  | // <auto-generated> | ||
|  | //     This code was generated by a tool. | ||
|  | //     Runtime Version:4.0.30319.42000 | ||
|  | // | ||
|  | //     Changes to this file may cause incorrect behavior and will be lost if | ||
|  | //     the code is regenerated. | ||
|  | // </auto-generated> | ||
|  | //------------------------------------------------------------------------------ | ||
|  | 
 | ||
|  | using Articy.Touhou; | ||
|  | using Articy.Unity; | ||
|  | using Articy.Unity.Constraints; | ||
|  | using Articy.Unity.Interfaces; | ||
|  | using System; | ||
|  | using System.Collections; | ||
|  | using System.Collections.Generic; | ||
|  | using UnityEngine; | ||
|  | 
 | ||
|  | 
 | ||
|  | namespace Articy.Touhou.Features | ||
|  | { | ||
|  |      | ||
|  |      | ||
|  |     public class LevelFeatureConstraint | ||
|  |     { | ||
|  |          | ||
|  |         private Boolean mLoadedConstraints; | ||
|  |          | ||
|  |         private TextConstraint mPrefab; | ||
|  |          | ||
|  |         private ReferenceStripConstraint mMonsterList; | ||
|  |          | ||
|  |         private NumberConstraint mDifficulty; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_TL; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_TM; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_TR; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_LT; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_LM; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_LD; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_DL; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_DM; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_DR; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_RT; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_RM; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mLevelLink_RD; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mDoor; | ||
|  |          | ||
|  |         private NumberConstraint mLevelSizeX; | ||
|  |          | ||
|  |         private NumberConstraint mLevelSizeY; | ||
|  |          | ||
|  |         public TextConstraint Prefab | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mPrefab; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceStripConstraint MonsterList | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mMonsterList; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public NumberConstraint Difficulty | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mDifficulty; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_TL | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_TL; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_TM | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_TM; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_TR | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_TR; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_LT | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_LT; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_LM | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_LM; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_LD | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_LD; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_DL | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_DL; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_DM | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_DM; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_DR | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_DR; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_RT | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_RT; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_RM | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_RM; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint LevelLink_RD | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelLink_RD; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint Door | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mDoor; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public NumberConstraint LevelSizeX | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelSizeX; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public NumberConstraint LevelSizeY | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mLevelSizeY; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public virtual void EnsureConstraints() | ||
|  |         { | ||
|  |             if ((mLoadedConstraints == true)) | ||
|  |             { | ||
|  |                 return; | ||
|  |             } | ||
|  |             mLoadedConstraints = true; | ||
|  |             mPrefab = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false); | ||
|  |             mMonsterList = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "Monster;"); | ||
|  |             mDifficulty = new Articy.Unity.Constraints.NumberConstraint(1D, 3.40282346638529E+38D, 0, 0, 0, null); | ||
|  |             mLevelLink_TL = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_TM = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_TR = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_LT = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_LM = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_LD = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_DL = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_DM = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_DR = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_RT = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_RM = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mLevelLink_RD = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Level;"); | ||
|  |             mDoor = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Door;"); | ||
|  |             mLevelSizeX = new Articy.Unity.Constraints.NumberConstraint(1D, 4D, 0, 0, 0, null); | ||
|  |             mLevelSizeY = new Articy.Unity.Constraints.NumberConstraint(1D, 4D, 0, 0, 0, null); | ||
|  |         } | ||
|  |     } | ||
|  | } |