using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("Assembly-CSharp")]
[assembly: AssemblyCompany("UmaMusumePlayerModels")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("UmaMusumePlayerModels")]
[assembly: AssemblyTitle("UmaMusumePlayerModels")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Microsoft.CodeAnalysis
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
internal sealed class EmbeddedAttribute : Attribute
{
}
}
namespace System.Runtime.CompilerServices
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
internal sealed class NullableAttribute : Attribute
{
public readonly byte[] NullableFlags;
public NullableAttribute(byte P_0)
{
NullableFlags = new byte[1] { P_0 };
}
public NullableAttribute(byte[] P_0)
{
NullableFlags = P_0;
}
}
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
internal sealed class NullableContextAttribute : Attribute
{
public readonly byte Flag;
public NullableContextAttribute(byte P_0)
{
Flag = P_0;
}
}
}
namespace ModelReplacement
{
public class SILENCESUZUKA : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SilenceSuzuka";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1002_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1002_00/Position/Hip")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class HARUURARA : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "HaruUrara";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1052_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1052_00/Position/Hip")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class SPECIALWEEK : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SpecialWeek";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1001_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1001_00/Position/Hip")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class TOKAITEIO : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "TokaiTeio";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1003_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1003_00/Position/Hip")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class OGURICAP : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "OguriCap";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1006_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1006_00/Position/Hip")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class MAYANOTOPGUN : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "MayanoTopGun";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1024_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1024_00/Position/Hip")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class GOLDSHIP : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "GoldShip";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1007_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1007_00/Position/Hip")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class CURRENCHAN : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "CurrenChan";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1038_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1038_00/Position/Hip")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class BIWAHAYAHIDE : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "BiwaHayahide";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1023_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1023_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class WINNINGTICKET : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "WinningTicket";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1035_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1035_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class NARITATAISHIN : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "NaritaTaishin";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1050_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1050_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class VODKA : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Vodka";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1008_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1008_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class DAIWASCARLET : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "DaiwaScarlet";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1009_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1009_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class RICESHOWER : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "RiceShower";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1030_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1030_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class SYMBOLIRUDOLF : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SymboliRudolf";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1017_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1017_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class MEJIROMCQUEEN : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "MejiroMcQueen";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1013_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1013_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class SAKURABAKUSHINO : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SakuraBakushinO";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1041_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1041_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class AGNESTACHYON : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "AgnesTachyon";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1032_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1032_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class MIHONOBOURBON : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "MihonoBourbon";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1026_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1026_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class NARITABRIAN : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "NaritaBrian";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1016_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1016_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class SEIUNSKY : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SeiunSky";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1020_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1020_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class MEJIRORYAN : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "MejiroRyan";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1027_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1027_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class TMOPERAO : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "TM Opera O";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1015_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1015_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class KITASANBLACK : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "KitasanBlack";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1068 Kitasan Black/1068 Kitasan Black_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1068 Kitasan Black/1068 Kitasan Black_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class MATIKANETANNHAUSER : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Matikanetannhauser";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1062 Matikanetannhauser/1062 Matikanetannhauser_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1062 Matikanetannhauser/1062 Matikanetannhauser_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class MEISHODOTO : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "MeishoDoto";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1058_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1058_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class AGNESDIGITAL : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "AgnesDigital";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1019 Agnes Digital/1019 Agnes Digital_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1019 Agnes Digital/1019 Agnes Digital_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class TAMAMOCROSS : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "TamamoCross";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1021_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1021_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class SATONODIAMOND : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SatonoDiamond";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1067 Satono Diamond/1067 Satono Diamond_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1067 Satono Diamond/1067 Satono Diamond_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class GOLDCITY : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "GoldCity";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1040_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1040_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class ADMIREVEGA : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "AdmireVega";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1033_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1033_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class MARUZENSKY : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Maruzensky";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1004_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1004_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class NAKAYAMAFESTA : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "NakayamaFesta";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1049 Nakayama Festa/1049 Nakayama Festa_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1049 Nakayama Festa/1049 Nakayama Festa_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class ORFEVRE : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Orfevre";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1115 Orfevre/1115 Orfevre_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1115 Orfevre/1115 Orfevre_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class STAYGOLD : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "StayGold";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1135 Stay Gold/1135 Stay Gold_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1135 Stay Gold/1135 Stay Gold_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class CALSTONELIGHTO : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "CalstoneLightO";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1120 Calstone Light O/1120 Calstone Light O_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1120 Calstone Light O/1120 Calstone Light O_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class DREAMJOURNEY : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "DreamJourney";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1119 Dream Journey/1119 Dream Journey_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1119 Dream Journey/1119 Dream Journey_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class FENOMENO : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Fenomeno";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1127 Fenomeno/1127 Fenomeno_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1127 Fenomeno/1127 Fenomeno_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class GENTILDONNA : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Gentildonna";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1116 Gentildonna/1116 Gentildonna_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1116 Gentildonna/1116 Gentildonna_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class TANINOGIMLET : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "TaninoGimlet";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1084 Tanino Gimlet/1084 Tanino Gimlet_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1084 Tanino Gimlet/1084 Tanino Gimlet_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class SYMBOLIKRISS : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SymboliKrisS";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1083 Symboli Kris S/1083 Symboli Kris S_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1083 Symboli Kris S/1083 Symboli Kris S_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class GRASSWONDER : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "GrassWonder";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1011_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1011_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class ELCONDORPASA : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "ElCondorPasa";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1014_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1014_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class NICENATURE : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "NiceNature";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1060_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1060_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class TWINTURBO : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "TwinTurbo";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1066_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1066_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class MANHATTANCAFE : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "ManhattanCafe";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1025_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1025_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class ASTONMACHAN : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "AstonMachan";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1087 Aston Machan/1087 Aston Machan_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1087 Aston Machan/1087 Aston Machan_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class EISHINFLASH : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "EishinFlash";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1037_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1037_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class SUPERCREEK : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SuperCreek";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1045_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1045_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class ALMONDEYE : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "AlmondEye";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1129 Almond Eye/1129 Almond Eye_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1129 Almond Eye/1129 Almond Eye_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class DANTSUFLAME : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "DantsuFlame";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1092 Dantsu Flame/1092 Dantsu Flame_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1092 Dantsu Flame/1092 Dantsu Flame_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class JUNGLEPOCKET : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "JunglePocket";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1094 Jungle Pocket/1094 Jungle Pocket_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1094 Jungle Pocket/1094 Jungle Pocket_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class KATSURAGIACE : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "KatsuragiAce";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1104 Katsuragi Ace/1104 Katsuragi Ace_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1104 Katsuragi Ace/1104 Katsuragi Ace_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class KAWAKAMIPRINCESS : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "KawakamiPrincess";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1039 Kawakami Princess/1039 Kawakami Princess_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1039 Kawakami Princess/1039 Kawakami Princess_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class NARITATOPROAD : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "NaritaTopRoad";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1077 Narita Top Road/1077 Narita Top Road_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1077 Narita Top Road/1077 Narita Top Road_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class SIRIUSSYMBOLI : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SiriusSymboli";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1070 Sirius Symboli/1070 Sirius Symboli_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1070 Sirius Symboli/1070 Sirius Symboli_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class HOKKOTARUMAE : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "HokkoTarumae";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1099 Hokko Tarumae/1099 Hokko Tarumae_arm/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("1099 Hokko Tarumae/1099 Hokko Tarumae_arm/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class INESFUJIN : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "InesFujin";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1031_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1031_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
public class MATIKANEFUKUKITARU : BodyReplacementBase
{
private Animator headAnimator;
private Animator tailAnimator;
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Matikanefukukitaru";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
protected override void OnDeath()
{
((BodyReplacementBase)this).OnDeath();
Animator val = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1056_00/Position/Hip/UpBody_Ctrl/Waist/Spine/Chest/Neck/Head")).gameObject.TryGetComponent<Animator>(ref val))
{
headAnimator = val;
}
else
{
Plugin.Logger.LogError((object)"Head animator not found! Please report this and provide the log, thank you! <3");
}
Animator val2 = default(Animator);
if (((Component)base.replacementDeadBody.transform.Find("pfb_bdy1056_00/Position/Hip/Tail_Ctrl")).gameObject.TryGetComponent<Animator>(ref val2))
{
tailAnimator = val2;
}
else
{
Plugin.Logger.LogError((object)"Tail animator not found! Please report this and provide the log, thank you! <3");
}
headAnimator.SetTrigger("OnDeath");
tailAnimator.SetTrigger("OnDeath");
}
}
[BepInPlugin("com.teaisnt.umamusumeplayermodels", "UmamusumePlayerModels", "1.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Plugin : BaseUnityPlugin
{
public const string ModGUID = "UmamusumePlayerModels";
internal static readonly Harmony Harmony = new Harmony("UmamusumePlayerModels");
internal static ManualLogSource Logger { get; private set; } = null;
private void Awake()
{
Assets.PopulateAssets();
Logger = ((BaseUnityPlugin)this).Logger;
ModelReplacementAPI.RegisterSuitModelReplacement("Silence Suzuka", typeof(SILENCESUZUKA));
ModelReplacementAPI.RegisterSuitModelReplacement("Haru Urara", typeof(HARUURARA));
ModelReplacementAPI.RegisterSuitModelReplacement("Special Week", typeof(SPECIALWEEK));
ModelReplacementAPI.RegisterSuitModelReplacement("Tokai Teio", typeof(TOKAITEIO));
ModelReplacementAPI.RegisterSuitModelReplacement("Oguri Cap", typeof(OGURICAP));
ModelReplacementAPI.RegisterSuitModelReplacement("Mayano Top Gun", typeof(MAYANOTOPGUN));
ModelReplacementAPI.RegisterSuitModelReplacement("Gold Ship", typeof(GOLDSHIP));
ModelReplacementAPI.RegisterSuitModelReplacement("Curren Chan", typeof(CURRENCHAN));
ModelReplacementAPI.RegisterSuitModelReplacement("Biwa Hayahide", typeof(BIWAHAYAHIDE));
ModelReplacementAPI.RegisterSuitModelReplacement("Winning Ticket", typeof(WINNINGTICKET));
ModelReplacementAPI.RegisterSuitModelReplacement("Narita Taishin", typeof(NARITATAISHIN));
ModelReplacementAPI.RegisterSuitModelReplacement("Vodka", typeof(VODKA));
ModelReplacementAPI.RegisterSuitModelReplacement("Daiwa Scarlet", typeof(DAIWASCARLET));
ModelReplacementAPI.RegisterSuitModelReplacement("Rice Shower", typeof(RICESHOWER));
ModelReplacementAPI.RegisterSuitModelReplacement("Symboli Rudolf", typeof(SYMBOLIRUDOLF));
ModelReplacementAPI.RegisterSuitModelReplacement("Mejiro McQueen", typeof(MEJIROMCQUEEN));
ModelReplacementAPI.RegisterSuitModelReplacement("Agnes Tachyon", typeof(AGNESTACHYON));
ModelReplacementAPI.RegisterSuitModelReplacement("Sakura Bakushin O", typeof(SAKURABAKUSHINO));
ModelReplacementAPI.RegisterSuitModelReplacement("Mihono Bourbon", typeof(MIHONOBOURBON));
ModelReplacementAPI.RegisterSuitModelReplacement("Narita Brian", typeof(NARITABRIAN));
ModelReplacementAPI.RegisterSuitModelReplacement("Seiun Sky", typeof(SEIUNSKY));
ModelReplacementAPI.RegisterSuitModelReplacement("Mejiro Ryan", typeof(MEJIRORYAN));
ModelReplacementAPI.RegisterSuitModelReplacement("T.M. Opera O", typeof(TMOPERAO));
ModelReplacementAPI.RegisterSuitModelReplacement("Kitasan Black", typeof(KITASANBLACK));
ModelReplacementAPI.RegisterSuitModelReplacement("Matikanetannhauser", typeof(MATIKANETANNHAUSER));
ModelReplacementAPI.RegisterSuitModelReplacement("Meisho Doto", typeof(MEISHODOTO));
ModelReplacementAPI.RegisterSuitModelReplacement("Agnes Digital", typeof(AGNESDIGITAL));
ModelReplacementAPI.RegisterSuitModelReplacement("Tamamo Cross", typeof(TAMAMOCROSS));
ModelReplacementAPI.RegisterSuitModelReplacement("Satono Diamond", typeof(SATONODIAMOND));
ModelReplacementAPI.RegisterSuitModelReplacement("Gold City", typeof(GOLDCITY));
ModelReplacementAPI.RegisterSuitModelReplacement("Admire Vega", typeof(ADMIREVEGA));
ModelReplacementAPI.RegisterSuitModelReplacement("Maruzensky", typeof(MARUZENSKY));
ModelReplacementAPI.RegisterSuitModelReplacement("Nakayama Festa", typeof(NAKAYAMAFESTA));
ModelReplacementAPI.RegisterSuitModelReplacement("Orfevre", typeof(ORFEVRE));
ModelReplacementAPI.RegisterSuitModelReplacement("Stay Gold", typeof(STAYGOLD));
ModelReplacementAPI.RegisterSuitModelReplacement("Calstone Light O", typeof(CALSTONELIGHTO));
ModelReplacementAPI.RegisterSuitModelReplacement("Dream Journey", typeof(DREAMJOURNEY));
ModelReplacementAPI.RegisterSuitModelReplacement("Fenomeno", typeof(FENOMENO));
ModelReplacementAPI.RegisterSuitModelReplacement("Gentildonna", typeof(GENTILDONNA));
ModelReplacementAPI.RegisterSuitModelReplacement("Tanino Gimlet", typeof(TANINOGIMLET));
ModelReplacementAPI.RegisterSuitModelReplacement("Symboli Kris S", typeof(SYMBOLIKRISS));
ModelReplacementAPI.RegisterSuitModelReplacement("Grass Wonder", typeof(GRASSWONDER));
ModelReplacementAPI.RegisterSuitModelReplacement("El Condor Pasa", typeof(ELCONDORPASA));
ModelReplacementAPI.RegisterSuitModelReplacement("Nice Nature", typeof(NICENATURE));
ModelReplacementAPI.RegisterSuitModelReplacement("Twin Turbo", typeof(TWINTURBO));
ModelReplacementAPI.RegisterSuitModelReplacement("Manhattan Cafe", typeof(MANHATTANCAFE));
ModelReplacementAPI.RegisterSuitModelReplacement("Aston Machan", typeof(ASTONMACHAN));
ModelReplacementAPI.RegisterSuitModelReplacement("Eishin Flash", typeof(EISHINFLASH));
ModelReplacementAPI.RegisterSuitModelReplacement("Super Creek", typeof(SUPERCREEK));
ModelReplacementAPI.RegisterSuitModelReplacement("Almond Eye", typeof(ALMONDEYE));
ModelReplacementAPI.RegisterSuitModelReplacement("Dantsu Flame", typeof(DANTSUFLAME));
ModelReplacementAPI.RegisterSuitModelReplacement("Jungle Pocket", typeof(JUNGLEPOCKET));
ModelReplacementAPI.RegisterSuitModelReplacement("Katsuragi Ace", typeof(KATSURAGIACE));
ModelReplacementAPI.RegisterSuitModelReplacement("Kawakami Princess", typeof(KAWAKAMIPRINCESS));
ModelReplacementAPI.RegisterSuitModelReplacement("Narita Top Road", typeof(NARITATOPROAD));
ModelReplacementAPI.RegisterSuitModelReplacement("Sirius Symboli", typeof(SIRIUSSYMBOLI));
ModelReplacementAPI.RegisterSuitModelReplacement("Hokko Tarumae", typeof(HOKKOTARUMAE));
ModelReplacementAPI.RegisterSuitModelReplacement("Ines Fujin", typeof(INESFUJIN));
ModelReplacementAPI.RegisterSuitModelReplacement("Matikanefukukitaru", typeof(MATIKANEFUKUKITARU));
Harmony.PatchAll();
Logger.LogDebug((object)"Thank you for trying out Umamusume Player Models! I sincerely hope you enjoy the mod :) -Teaisnt");
}
}
public static class Assets
{
public static string mainAssetBundleName = "umamusumeplayermodelsassetbundle";
public static AssetBundle MainAssetBundle = null;
private static string GetAssemblyName()
{
return Assembly.GetExecutingAssembly().GetName().Name.Replace(" ", "_");
}
public static void PopulateAssets()
{
if ((Object)(object)MainAssetBundle == (Object)null)
{
Console.WriteLine(GetAssemblyName() + "." + mainAssetBundleName);
using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetAssemblyName() + "." + mainAssetBundleName);
MainAssetBundle = AssetBundle.LoadFromStream(stream);
}
}
}
}
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
internal sealed class IgnoresAccessChecksToAttribute : Attribute
{
public IgnoresAccessChecksToAttribute(string assemblyName)
{
}
}
}