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.
100 lines
2.7 KiB
C#
100 lines
2.7 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 ElementReactFeatureConstraint
|
|
{
|
|
|
|
private Boolean mLoadedConstraints;
|
|
|
|
private EnumConstraint mElement1;
|
|
|
|
private EnumConstraint mElement2;
|
|
|
|
private EnumConstraint mElementResult;
|
|
|
|
private ReferenceSlotConstraint mBuff;
|
|
|
|
private NumberConstraint mBuffLevel;
|
|
|
|
public EnumConstraint Element1
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mElement1;
|
|
}
|
|
}
|
|
|
|
public EnumConstraint Element2
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mElement2;
|
|
}
|
|
}
|
|
|
|
public EnumConstraint ElementResult
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mElementResult;
|
|
}
|
|
}
|
|
|
|
public ReferenceSlotConstraint Buff
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mBuff;
|
|
}
|
|
}
|
|
|
|
public NumberConstraint BuffLevel
|
|
{
|
|
get
|
|
{
|
|
EnsureConstraints();
|
|
return mBuffLevel;
|
|
}
|
|
}
|
|
|
|
public virtual void EnsureConstraints()
|
|
{
|
|
if ((mLoadedConstraints == true))
|
|
{
|
|
return;
|
|
}
|
|
mLoadedConstraints = true;
|
|
mElement1 = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
|
|
mElement2 = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
|
|
mElementResult = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
|
|
mBuff = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Buff;");
|
|
mBuffLevel = new Articy.Unity.Constraints.NumberConstraint(0D, 3.40282346638529E+38D, 0, 0, 0, "层");
|
|
}
|
|
}
|
|
}
|