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.
		
		
		
		
		
			
		
			
				
	
	
		
			123 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			123 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			C#
		
	
| //------------------------------------------------------------------------------
 | |
| // <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.Interfaces;
 | |
| using System;
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| using UnityEngine;
 | |
| 
 | |
| 
 | |
| namespace Articy.Touhou.Features
 | |
| {
 | |
|     
 | |
|     
 | |
|     [Serializable()]
 | |
|     public class BulletFeature : IArticyBaseObject, IPropertyProvider
 | |
|     {
 | |
|         
 | |
|         [SerializeField()]
 | |
|         private String mTimeline;
 | |
|         
 | |
|         [SerializeField()]
 | |
|         private UInt64 mOwnerId;
 | |
|         
 | |
|         [SerializeField()]
 | |
|         private UInt32 mOwnerInstanceId;
 | |
|         
 | |
|         public String Unresolved_Timeline
 | |
|         {
 | |
|             get
 | |
|             {
 | |
|                 return mTimeline;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         public String Timeline
 | |
|         {
 | |
|             get
 | |
|             {
 | |
|                 return Articy.Unity.ArticyTextExtension.Resolve(this, mTimeline);
 | |
|             }
 | |
|             set
 | |
|             {
 | |
|                 var oldValue = mTimeline;
 | |
|                 mTimeline = value;
 | |
|                 Articy.Unity.ArticyDatabase.ObjectNotifications.ReportChanged(OwnerId, OwnerInstanceId, "Bullet.Timeline", oldValue, mTimeline);
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         public UInt64 OwnerId
 | |
|         {
 | |
|             get
 | |
|             {
 | |
|                 return mOwnerId;
 | |
|             }
 | |
|             set
 | |
|             {
 | |
|                 mOwnerId = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         public UInt32 OwnerInstanceId
 | |
|         {
 | |
|             get
 | |
|             {
 | |
|                 return mOwnerInstanceId;
 | |
|             }
 | |
|             set
 | |
|             {
 | |
|                 mOwnerInstanceId = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         private void CloneProperties(object aClone, Articy.Unity.ArticyObject aFirstClassParent)
 | |
|         {
 | |
|             Articy.Touhou.Features.BulletFeature newClone = ((Articy.Touhou.Features.BulletFeature)(aClone));
 | |
|             newClone.Timeline = Unresolved_Timeline;
 | |
|             newClone.OwnerId = OwnerId;
 | |
|         }
 | |
|         
 | |
|         public object CloneObject(object aParent, Articy.Unity.ArticyObject aFirstClassParent)
 | |
|         {
 | |
|             Articy.Touhou.Features.BulletFeature clone = new Articy.Touhou.Features.BulletFeature();
 | |
|             CloneProperties(clone, aFirstClassParent);
 | |
|             return clone;
 | |
|         }
 | |
|         
 | |
|         public virtual bool IsLocalizedPropertyOverwritten(string aProperty)
 | |
|         {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         #region property provider interface
 | |
|         public void setProp(string aProperty, object aValue)
 | |
|         {
 | |
|             if ((aProperty == "Timeline"))
 | |
|             {
 | |
|                 Timeline = System.Convert.ToString(aValue);
 | |
|                 return;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         public Articy.Unity.Interfaces.ScriptDataProxy getProp(string aProperty)
 | |
|         {
 | |
|             if ((aProperty == "Timeline"))
 | |
|             {
 | |
|                 return new Articy.Unity.Interfaces.ScriptDataProxy(Timeline);
 | |
|             }
 | |
|             return null;
 | |
|         }
 | |
|         #endregion
 | |
|     }
 | |
| }
 |