|  |  |  | //------------------------------------------------------------------------------ | 
					
						
							|  |  |  | // <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.Features; | 
					
						
							|  |  |  | using Articy.Unity; | 
					
						
							|  |  |  | using Articy.Unity.Interfaces; | 
					
						
							|  |  |  | using System; | 
					
						
							|  |  |  | using System.Collections; | 
					
						
							|  |  |  | using System.Collections.Generic; | 
					
						
							|  |  |  | using UnityEngine; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace Articy.Touhou | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     public class Monster : Entity, IEntity, IPropertyProvider, IObjectWithFeatureEntityParamMonster, IObjectWithFeatureEntityParamView, IObjectWithFeatureEntityParamBattle, IObjectWithFeatureEntityParam | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         [SerializeField()] | 
					
						
							|  |  |  |         private ArticyValueMonsterTemplate mTemplate = new ArticyValueMonsterTemplate(); | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         private static Articy.Touhou.Templates.MonsterTemplateConstraint mConstraints = new Articy.Touhou.Templates.MonsterTemplateConstraint(); | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         public Articy.Touhou.Templates.MonsterTemplate Template | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             get | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |                 return mTemplate.GetValue(); | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |             set | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |                 mTemplate.SetValue(value); | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         public static Articy.Touhou.Templates.MonsterTemplateConstraint Constraints | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             get | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |                 return mConstraints; | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         public EntityParamMonsterFeature GetFeatureEntityParamMonster() | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             return Template.EntityParamMonster; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         public EntityParamViewFeature GetFeatureEntityParamView() | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             return Template.EntityParamView; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         public EntityParamBattleFeature GetFeatureEntityParamBattle() | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             return Template.EntityParamBattle; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         public EntityParamFeature GetFeatureEntityParam() | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             return Template.EntityParam; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         protected override void CloneProperties(object aClone, Articy.Unity.ArticyObject aFirstClassParent) | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             Monster newClone = ((Monster)(aClone)); | 
					
						
							|  |  |  |             if ((Template != null)) | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |                 newClone.Template = ((Articy.Touhou.Templates.MonsterTemplate)(Template.CloneObject(newClone, aFirstClassParent))); | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |             base.CloneProperties(newClone, aFirstClassParent); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         public override bool IsLocalizedPropertyOverwritten(string aProperty) | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             return base.IsLocalizedPropertyOverwritten(aProperty); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         #region property provider interface | 
					
						
							|  |  |  |         public override void setProp(string aProperty, object aValue) | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             if (aProperty.Contains(".")) | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |                 Template.setProp(aProperty, aValue); | 
					
						
							|  |  |  |                 return; | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |             base.setProp(aProperty, aValue); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         public override Articy.Unity.Interfaces.ScriptDataProxy getProp(string aProperty) | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             if (aProperty.Contains(".")) | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |                 return Template.getProp(aProperty); | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |             return base.getProp(aProperty); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |         #endregion | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | } |