This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+250
View File
@@ -0,0 +1,250 @@
using System;
using System.Runtime.InteropServices;
using UnityEngine.Scripting;
namespace UnityEngine
{
// Token: 0x020001FB RID: 507
[RequiredByNativeCode]
[Serializable]
[StructLayout(LayoutKind.Sequential)]
public sealed class AnimationEvent
{
// Token: 0x060023E1 RID: 9185 RVA: 0x00029E48 File Offset: 0x00028048
public AnimationEvent()
{
this.m_Time = 0f;
this.m_FunctionName = "";
this.m_StringParameter = "";
this.m_ObjectReferenceParameter = null;
this.m_FloatParameter = 0f;
this.m_IntParameter = 0;
this.m_MessageOptions = 0;
this.m_Source = AnimationEventSource.NoSource;
this.m_StateSender = null;
}
// Token: 0x1700083B RID: 2107
// (get) Token: 0x060023E2 RID: 9186 RVA: 0x00029EAC File Offset: 0x000280AC
// (set) Token: 0x060023E3 RID: 9187 RVA: 0x00029EC8 File Offset: 0x000280C8
[Obsolete("Use stringParameter instead")]
public string data
{
get
{
return this.m_StringParameter;
}
set
{
this.m_StringParameter = value;
}
}
// Token: 0x1700083C RID: 2108
// (get) Token: 0x060023E4 RID: 9188 RVA: 0x00029ED4 File Offset: 0x000280D4
// (set) Token: 0x060023E5 RID: 9189 RVA: 0x00029EF0 File Offset: 0x000280F0
public string stringParameter
{
get
{
return this.m_StringParameter;
}
set
{
this.m_StringParameter = value;
}
}
// Token: 0x1700083D RID: 2109
// (get) Token: 0x060023E6 RID: 9190 RVA: 0x00029EFC File Offset: 0x000280FC
// (set) Token: 0x060023E7 RID: 9191 RVA: 0x00029F18 File Offset: 0x00028118
public float floatParameter
{
get
{
return this.m_FloatParameter;
}
set
{
this.m_FloatParameter = value;
}
}
// Token: 0x1700083E RID: 2110
// (get) Token: 0x060023E8 RID: 9192 RVA: 0x00029F24 File Offset: 0x00028124
// (set) Token: 0x060023E9 RID: 9193 RVA: 0x00029F40 File Offset: 0x00028140
public int intParameter
{
get
{
return this.m_IntParameter;
}
set
{
this.m_IntParameter = value;
}
}
// Token: 0x1700083F RID: 2111
// (get) Token: 0x060023EA RID: 9194 RVA: 0x00029F4C File Offset: 0x0002814C
// (set) Token: 0x060023EB RID: 9195 RVA: 0x00029F68 File Offset: 0x00028168
public Object objectReferenceParameter
{
get
{
return this.m_ObjectReferenceParameter;
}
set
{
this.m_ObjectReferenceParameter = value;
}
}
// Token: 0x17000840 RID: 2112
// (get) Token: 0x060023EC RID: 9196 RVA: 0x00029F74 File Offset: 0x00028174
// (set) Token: 0x060023ED RID: 9197 RVA: 0x00029F90 File Offset: 0x00028190
public string functionName
{
get
{
return this.m_FunctionName;
}
set
{
this.m_FunctionName = value;
}
}
// Token: 0x17000841 RID: 2113
// (get) Token: 0x060023EE RID: 9198 RVA: 0x00029F9C File Offset: 0x0002819C
// (set) Token: 0x060023EF RID: 9199 RVA: 0x00029FB8 File Offset: 0x000281B8
public float time
{
get
{
return this.m_Time;
}
set
{
this.m_Time = value;
}
}
// Token: 0x17000842 RID: 2114
// (get) Token: 0x060023F0 RID: 9200 RVA: 0x00029FC4 File Offset: 0x000281C4
// (set) Token: 0x060023F1 RID: 9201 RVA: 0x00029FE0 File Offset: 0x000281E0
public SendMessageOptions messageOptions
{
get
{
return (SendMessageOptions)this.m_MessageOptions;
}
set
{
this.m_MessageOptions = (int)value;
}
}
// Token: 0x17000843 RID: 2115
// (get) Token: 0x060023F2 RID: 9202 RVA: 0x00029FEC File Offset: 0x000281EC
public bool isFiredByLegacy
{
get
{
return this.m_Source == AnimationEventSource.Legacy;
}
}
// Token: 0x17000844 RID: 2116
// (get) Token: 0x060023F3 RID: 9203 RVA: 0x0002A00C File Offset: 0x0002820C
public bool isFiredByAnimator
{
get
{
return this.m_Source == AnimationEventSource.Animator;
}
}
// Token: 0x17000845 RID: 2117
// (get) Token: 0x060023F4 RID: 9204 RVA: 0x0002A02C File Offset: 0x0002822C
public AnimationState animationState
{
get
{
if (!this.isFiredByLegacy)
{
Debug.LogError("AnimationEvent was not fired by Animation component, you shouldn't use AnimationEvent.animationState");
}
return this.m_StateSender;
}
}
// Token: 0x17000846 RID: 2118
// (get) Token: 0x060023F5 RID: 9205 RVA: 0x0002A05C File Offset: 0x0002825C
public AnimatorStateInfo animatorStateInfo
{
get
{
if (!this.isFiredByAnimator)
{
Debug.LogError("AnimationEvent was not fired by Animator component, you shouldn't use AnimationEvent.animatorStateInfo");
}
return this.m_AnimatorStateInfo;
}
}
// Token: 0x17000847 RID: 2119
// (get) Token: 0x060023F6 RID: 9206 RVA: 0x0002A08C File Offset: 0x0002828C
public AnimatorClipInfo animatorClipInfo
{
get
{
if (!this.isFiredByAnimator)
{
Debug.LogError("AnimationEvent was not fired by Animator component, you shouldn't use AnimationEvent.animatorClipInfo");
}
return this.m_AnimatorClipInfo;
}
}
// Token: 0x060023F7 RID: 9207 RVA: 0x0002A0BC File Offset: 0x000282BC
internal int GetHash()
{
int hashCode = this.functionName.GetHashCode();
return 33 * hashCode + this.time.GetHashCode();
}
// Token: 0x0400054D RID: 1357
internal float m_Time;
// Token: 0x0400054E RID: 1358
internal string m_FunctionName;
// Token: 0x0400054F RID: 1359
internal string m_StringParameter;
// Token: 0x04000550 RID: 1360
internal Object m_ObjectReferenceParameter;
// Token: 0x04000551 RID: 1361
internal float m_FloatParameter;
// Token: 0x04000552 RID: 1362
internal int m_IntParameter;
// Token: 0x04000553 RID: 1363
internal int m_MessageOptions;
// Token: 0x04000554 RID: 1364
internal AnimationEventSource m_Source;
// Token: 0x04000555 RID: 1365
internal AnimationState m_StateSender;
// Token: 0x04000556 RID: 1366
internal AnimatorStateInfo m_AnimatorStateInfo;
// Token: 0x04000557 RID: 1367
internal AnimatorClipInfo m_AnimatorClipInfo;
}
}