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.
		
		
		
		
		
			
		
			
	
	
		
			172 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			C#
		
	
		
		
			
		
	
	
			172 lines
		
	
	
		
			4.9 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 SkillFeatureConstraint | ||
|  |     { | ||
|  |          | ||
|  |         private Boolean mLoadedConstraints; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mIcon; | ||
|  |          | ||
|  |         private TextConstraint mName; | ||
|  |          | ||
|  |         private TextConstraint mDescribe; | ||
|  |          | ||
|  |         private TextConstraint mTimeline; | ||
|  |          | ||
|  |         private ReferenceStripConstraint mSoundList; | ||
|  |          | ||
|  |         private EnumConstraint mAttackType; | ||
|  |          | ||
|  |         private EnumConstraint mAttackRangeType; | ||
|  |          | ||
|  |         private EnumConstraint mAttackInputType; | ||
|  |          | ||
|  |         private NumberConstraint mAttackRate; | ||
|  |          | ||
|  |         private NumberConstraint mStunRate; | ||
|  |          | ||
|  |         private NumberConstraint mExecuteRate; | ||
|  |          | ||
|  |         public ReferenceSlotConstraint Icon | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mIcon; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public TextConstraint Name | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mName; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public TextConstraint Describe | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mDescribe; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public TextConstraint Timeline | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mTimeline; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceStripConstraint SoundList | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mSoundList; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public EnumConstraint AttackType | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mAttackType; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public EnumConstraint AttackRangeType | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mAttackRangeType; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public EnumConstraint AttackInputType | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mAttackInputType; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public NumberConstraint AttackRate | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mAttackRate; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public NumberConstraint StunRate | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mStunRate; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public NumberConstraint ExecuteRate | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mExecuteRate; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public virtual void EnsureConstraints() | ||
|  |         { | ||
|  |             if ((mLoadedConstraints == true)) | ||
|  |             { | ||
|  |                 return; | ||
|  |             } | ||
|  |             mLoadedConstraints = true; | ||
|  |             mIcon = new Articy.Unity.Constraints.ReferenceSlotConstraint("Asset;", "", "None;Image;", ""); | ||
|  |             mName = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false); | ||
|  |             mDescribe = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, true); | ||
|  |             mTimeline = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false); | ||
|  |             mSoundList = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "SoundGroup;"); | ||
|  |             mAttackType = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex"); | ||
|  |             mAttackRangeType = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex"); | ||
|  |             mAttackInputType = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex"); | ||
|  |             mAttackRate = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, ""); | ||
|  |             mStunRate = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, ""); | ||
|  |             mExecuteRate = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, ""); | ||
|  |         } | ||
|  |     } | ||
|  | } |