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.
		
		
		
		
		
			
		
			
	
	
		
			108 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			C#
		
	
		
		
			
		
	
	
			108 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			C#
		
	
| 
											2 years ago
										 | namespace Articy.Touhou | ||
|  | { | ||
|  | 	public static class EnumExtensionMethods | ||
|  | 	{ | ||
|  | 		public static string GetDisplayName(this TriggerTiming aTriggerTiming) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("TriggerTiming").GetEnumValue(((int)(aTriggerTiming))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this PropertyChangeType aPropertyChangeType) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("PropertyChangeType").GetEnumValue(((int)(aPropertyChangeType))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this Property aProperty) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("Property").GetEnumValue(((int)(aProperty))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this BuffEffectTimingType aBuffEffectTimingType) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("BuffEffectTimingType").GetEnumValue(((int)(aBuffEffectTimingType))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this AttackInputType aAttackInputType) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("AttackInputType").GetEnumValue(((int)(aAttackInputType))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this AttackRangeType aAttackRangeType) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("AttackRangeType").GetEnumValue(((int)(aAttackRangeType))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this __04 a__04) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("__04").GetEnumValue(((int)(a__04))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this TriggerType aTriggerType) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("TriggerType").GetEnumValue(((int)(aTriggerType))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this Stance aStance) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("Stance").GetEnumValue(((int)(aStance))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this Element aElement) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("Element").GetEnumValue(((int)(aElement))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this LevelType aLevelType) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("LevelType").GetEnumValue(((int)(aLevelType))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this __02 a__02) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("__02").GetEnumValue(((int)(a__02))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this EntityType aEntityType) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("EntityType").GetEnumValue(((int)(aEntityType))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this __03 a__03) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("__03").GetEnumValue(((int)(a__03))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this ShapeType aShapeType) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("ShapeType").GetEnumValue(((int)(aShapeType))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this SelectabilityModes aSelectabilityModes) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("SelectabilityModes").GetEnumValue(((int)(aSelectabilityModes))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this VisibilityModes aVisibilityModes) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("VisibilityModes").GetEnumValue(((int)(aVisibilityModes))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this OutlineStyle aOutlineStyle) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("OutlineStyle").GetEnumValue(((int)(aOutlineStyle))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this PathCaps aPathCaps) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("PathCaps").GetEnumValue(((int)(aPathCaps))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 		public static string GetDisplayName(this LocationAnchorSize aLocationAnchorSize) | ||
|  | 		{ | ||
|  | 			return Articy.Unity.ArticyTypeSystem.GetArticyType("LocationAnchorSize").GetEnumValue(((int)(aLocationAnchorSize))).DisplayName; | ||
|  | 		} | ||
|  | 
 | ||
|  | 	} | ||
|  | } | ||
|  | 
 |