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.
		
		
		
		
		
			
		
			
	
	
		
			112 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			C#
		
	
		
		
			
		
	
	
			112 lines
		
	
	
		
			3.1 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 SkillComboFeatureConstraint | ||
|  |     { | ||
|  |          | ||
|  |         private Boolean mLoadedConstraints; | ||
|  |          | ||
|  |         private EnumConstraint mStanceStart; | ||
|  |          | ||
|  |         private EnumConstraint mStanceEnd; | ||
|  |          | ||
|  |         private EnumConstraint mTriggerType; | ||
|  |          | ||
|  |         private BooleanConstraint mFreeLock; | ||
|  |          | ||
|  |         private ReferenceSlotConstraint mWeapon; | ||
|  |          | ||
|  |         private ReferenceStripConstraint mSkillTrigger; | ||
|  |          | ||
|  |         public EnumConstraint StanceStart | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mStanceStart; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public EnumConstraint StanceEnd | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mStanceEnd; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public EnumConstraint TriggerType | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mTriggerType; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public BooleanConstraint FreeLock | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mFreeLock; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceSlotConstraint Weapon | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mWeapon; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public ReferenceStripConstraint SkillTrigger | ||
|  |         { | ||
|  |             get | ||
|  |             { | ||
|  |                 EnsureConstraints(); | ||
|  |                 return mSkillTrigger; | ||
|  |             } | ||
|  |         } | ||
|  |          | ||
|  |         public virtual void EnsureConstraints() | ||
|  |         { | ||
|  |             if ((mLoadedConstraints == true)) | ||
|  |             { | ||
|  |                 return; | ||
|  |             } | ||
|  |             mLoadedConstraints = true; | ||
|  |             mStanceStart = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex"); | ||
|  |             mStanceEnd = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex"); | ||
|  |             mTriggerType = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex"); | ||
|  |             mFreeLock = new Articy.Unity.Constraints.BooleanConstraint(false); | ||
|  |             mWeapon = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Weapon;"); | ||
|  |             mSkillTrigger = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", ""); | ||
|  |         } | ||
|  |     } | ||
|  | } |