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.
196 lines
5.6 KiB
C#
196 lines
5.6 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.Constraints;
|
|
using Articy.Unity.Interfaces;
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
|
|
namespace Articy.Touhou.Features
|
|
{
|
|
|
|
|
|
public class BuffFeatureConstraint
|
|
{
|
|
|
|
private Boolean mLoadedConstraints;
|
|
|
|
private ReferenceSlotConstraint mIcon;
|
|
|
|
private TextConstraint mName;
|
|
|
|
private TextConstraint mDescribe;
|
|
|
|
private NumberConstraint mAliveTime;
|
|
|
|
private NumberConstraint mUpdateRate;
|
|
|
|
private BooleanConstraint mIsAliveForever;
|
|
|
|
private BooleanConstraint mIsUpdate;
|
|
|
|
private ReferenceStripConstraint mBuffPreCheck;
|
|
|
|
private ReferenceStripConstraint mBuffEffect;
|
|
|
|
private NumberConstraint mLevelMax;
|
|
|
|
private TextConstraint mEffectStart;
|
|
|
|
private TextConstraint mEffectDuring;
|
|
|
|
private TextConstraint mEffectEnd;
|
|
|
|
public ReferenceSlotConstraint Icon
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mIcon;
|
|
}
|
|
}
|
|
|
|
public TextConstraint Name
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mName;
|
|
}
|
|
}
|
|
|
|
public TextConstraint Describe
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mDescribe;
|
|
}
|
|
}
|
|
|
|
public NumberConstraint AliveTime
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mAliveTime;
|
|
}
|
|
}
|
|
|
|
public NumberConstraint UpdateRate
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mUpdateRate;
|
|
}
|
|
}
|
|
|
|
public BooleanConstraint IsAliveForever
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mIsAliveForever;
|
|
}
|
|
}
|
|
|
|
public BooleanConstraint IsUpdate
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mIsUpdate;
|
|
}
|
|
}
|
|
|
|
public ReferenceStripConstraint BuffPreCheck
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mBuffPreCheck;
|
|
}
|
|
}
|
|
|
|
public ReferenceStripConstraint BuffEffect
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mBuffEffect;
|
|
}
|
|
}
|
|
|
|
public NumberConstraint LevelMax
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mLevelMax;
|
|
}
|
|
}
|
|
|
|
public TextConstraint EffectStart
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mEffectStart;
|
|
}
|
|
}
|
|
|
|
public TextConstraint EffectDuring
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mEffectDuring;
|
|
}
|
|
}
|
|
|
|
public TextConstraint EffectEnd
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mEffectEnd;
|
|
}
|
|
}
|
|
|
|
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);
|
|
mAliveTime = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, "秒");
|
|
mUpdateRate = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, "秒");
|
|
mIsAliveForever = new Articy.Unity.Constraints.BooleanConstraint(false);
|
|
mIsUpdate = new Articy.Unity.Constraints.BooleanConstraint(false);
|
|
mBuffPreCheck = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "");
|
|
mBuffEffect = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "");
|
|
mLevelMax = new Articy.Unity.Constraints.NumberConstraint(0D, 3.40282346638529E+38D, 0, 0, 0, "层");
|
|
mEffectStart = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false);
|
|
mEffectDuring = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false);
|
|
mEffectEnd = new Articy.Unity.Constraints.TextConstraint(2048, "", null, false, false);
|
|
}
|
|
}
|
|
}
|