79 lines
2.4 KiB
C#
79 lines
2.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000620 RID: 1568
|
|
[Token(Token = "0x2000620")]
|
|
[StructLayout(3)]
|
|
public class TriggerToAnimationMapping : MonoBehaviour
|
|
{
|
|
// Token: 0x06002DD8 RID: 11736 RVA: 0x000BFBC4 File Offset: 0x000BDDC4
|
|
[Token(Token = "0x6002DD8")]
|
|
[Address(RVA = "0x18969A0", Offset = "0x18953A0", VA = "0x1818969A0")]
|
|
private void Awake()
|
|
{
|
|
List<TriggerToAnimationMapping.TriggerClipMapping> list = this.triggerToClipMappings;
|
|
int num = 0;
|
|
ThrowHelper.ThrowArgumentOutOfRangeException();
|
|
List<TriggerToAnimationMapping.TriggerClipMapping> list2 = this.triggerToClipMappings;
|
|
ThrowHelper.ThrowArgumentOutOfRangeException();
|
|
int num2;
|
|
string text;
|
|
this.GKADLGBGDDC[num2] = text;
|
|
List<TriggerToAnimationMapping.TriggerClipMapping> list3 = this.triggerToClipMappings;
|
|
num++;
|
|
}
|
|
|
|
// Token: 0x06002DD9 RID: 11737 RVA: 0x000BFC14 File Offset: 0x000BDE14
|
|
[Token(Token = "0x6002DD9")]
|
|
[Address(RVA = "0x1896AD0", Offset = "0x18954D0", VA = "0x181896AD0")]
|
|
public string GetAnimationForTrigger(int ECLBFINDJLO)
|
|
{
|
|
if (!this.GKADLGBGDDC.ContainsKey(ECLBFINDJLO))
|
|
{
|
|
}
|
|
return this.GKADLGBGDDC[ECLBFINDJLO];
|
|
}
|
|
|
|
// Token: 0x06002DDA RID: 11738 RVA: 0x000BFC44 File Offset: 0x000BDE44
|
|
[Token(Token = "0x6002DDA")]
|
|
[Address(RVA = "0x1896B50", Offset = "0x1895550", VA = "0x181896B50")]
|
|
public TriggerToAnimationMapping()
|
|
{
|
|
List<TriggerToAnimationMapping.TriggerClipMapping> list = new List();
|
|
this.triggerToClipMappings = list;
|
|
Dictionary<int, string> dictionary = new Dictionary();
|
|
this.GKADLGBGDDC = dictionary;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x040026A0 RID: 9888
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40026A0")]
|
|
[SerializeField]
|
|
private List<TriggerToAnimationMapping.TriggerClipMapping> triggerToClipMappings;
|
|
|
|
// Token: 0x040026A1 RID: 9889
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40026A1")]
|
|
private Dictionary<int, string> GKADLGBGDDC;
|
|
|
|
// Token: 0x02000621 RID: 1569
|
|
[Token(Token = "0x2000621")]
|
|
[Serializable]
|
|
private struct TriggerClipMapping
|
|
{
|
|
// Token: 0x040026A2 RID: 9890
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40026A2")]
|
|
public string TriggerName;
|
|
|
|
// Token: 0x040026A3 RID: 9891
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x40026A3")]
|
|
public AnimationClip Animation;
|
|
}
|
|
}
|