Upload from upload_mods.ps1

This commit is contained in:
Nathaniel Cosford
2025-06-04 16:44:53 +09:30
commit f1fbbe67bb
1722 changed files with 165268 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
using System.Xml.Linq;
public class MinEventActionAnimatorGetIntRebirth : MinEventActionTargetedBase
{
public override void Execute(MinEventParams _params)
{
for (int i = 0; i < this.targets.Count; i++)
{
if (this.targets[i].emodel != null && this.targets[i].emodel.avatarController != null)
{
int numResult = 0;
this.targets[i].emodel.avatarController.TryGetInt(this.property, out numResult);
//Log.Out("MinEventActionAnimatorGetIntRebirth-Execute numResult: " + numResult);
}
}
}
public override bool ParseXmlAttribute(XAttribute _attribute)
{
bool flag = base.ParseXmlAttribute(_attribute);
if (!flag)
{
string name = _attribute.Name.LocalName;
if (name != null)
{
if (name == "property")
{
this.property = _attribute.Value;
return true;
}
if (name == "value")
{
this.value = int.Parse(_attribute.Value);
return true;
}
}
}
return flag;
}
protected string property;
protected int value;
}