267 lines
9.6 KiB
C#
267 lines
9.6 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace UnityEngine.Playables
|
|
{
|
|
// Token: 0x020000E5 RID: 229
|
|
[UsedByNativeCode]
|
|
public struct PlayableOutputHandle
|
|
{
|
|
// Token: 0x06001105 RID: 4357 RVA: 0x00016CB4 File Offset: 0x00014EB4
|
|
internal bool IsValid()
|
|
{
|
|
return PlayableOutputHandle.IsValidInternal(ref this);
|
|
}
|
|
|
|
// Token: 0x06001106 RID: 4358 RVA: 0x00016CD0 File Offset: 0x00014ED0
|
|
internal static bool IsValidInternal(ref PlayableOutputHandle handle)
|
|
{
|
|
return PlayableOutputHandle.INTERNAL_CALL_IsValidInternal(ref handle);
|
|
}
|
|
|
|
// Token: 0x06001107 RID: 4359
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_IsValidInternal(ref PlayableOutputHandle handle);
|
|
|
|
// Token: 0x1700036E RID: 878
|
|
// (get) Token: 0x06001108 RID: 4360 RVA: 0x00016CEC File Offset: 0x00014EEC
|
|
public static PlayableOutputHandle Null
|
|
{
|
|
get
|
|
{
|
|
return new PlayableOutputHandle
|
|
{
|
|
m_Version = int.MaxValue
|
|
};
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001109 RID: 4361 RVA: 0x00016D18 File Offset: 0x00014F18
|
|
internal static Type GetPlayableOutputTypeOf(ref PlayableOutputHandle handle)
|
|
{
|
|
return PlayableOutputHandle.INTERNAL_CALL_GetPlayableOutputTypeOf(ref handle);
|
|
}
|
|
|
|
// Token: 0x0600110A RID: 4362
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern Type INTERNAL_CALL_GetPlayableOutputTypeOf(ref PlayableOutputHandle handle);
|
|
|
|
// Token: 0x0600110B RID: 4363 RVA: 0x00016D34 File Offset: 0x00014F34
|
|
internal bool IsPlayableOutputOfType<T>()
|
|
{
|
|
return PlayableOutputHandle.GetPlayableOutputTypeOf(ref this) == typeof(T);
|
|
}
|
|
|
|
// Token: 0x0600110C RID: 4364 RVA: 0x00016D5C File Offset: 0x00014F5C
|
|
internal Object GetReferenceObject()
|
|
{
|
|
return PlayableOutputHandle.GetInternalReferenceObject(ref this);
|
|
}
|
|
|
|
// Token: 0x0600110D RID: 4365 RVA: 0x00016D78 File Offset: 0x00014F78
|
|
internal void SetReferenceObject(Object value)
|
|
{
|
|
PlayableOutputHandle.SetInternalReferenceObject(ref this, value);
|
|
}
|
|
|
|
// Token: 0x0600110E RID: 4366 RVA: 0x00016D84 File Offset: 0x00014F84
|
|
internal static Object GetInternalReferenceObject(ref PlayableOutputHandle handle)
|
|
{
|
|
return PlayableOutputHandle.INTERNAL_CALL_GetInternalReferenceObject(ref handle);
|
|
}
|
|
|
|
// Token: 0x0600110F RID: 4367
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern Object INTERNAL_CALL_GetInternalReferenceObject(ref PlayableOutputHandle handle);
|
|
|
|
// Token: 0x06001110 RID: 4368 RVA: 0x00016DA0 File Offset: 0x00014FA0
|
|
internal static void SetInternalReferenceObject(ref PlayableOutputHandle handle, Object target)
|
|
{
|
|
PlayableOutputHandle.INTERNAL_CALL_SetInternalReferenceObject(ref handle, target);
|
|
}
|
|
|
|
// Token: 0x06001111 RID: 4369
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_SetInternalReferenceObject(ref PlayableOutputHandle handle, Object target);
|
|
|
|
// Token: 0x06001112 RID: 4370 RVA: 0x00016DAC File Offset: 0x00014FAC
|
|
internal Object GetUserData()
|
|
{
|
|
return PlayableOutputHandle.GetInternalUserData(ref this);
|
|
}
|
|
|
|
// Token: 0x06001113 RID: 4371 RVA: 0x00016DC8 File Offset: 0x00014FC8
|
|
internal void SetUserData(Object value)
|
|
{
|
|
PlayableOutputHandle.SetInternalUserData(ref this, value);
|
|
}
|
|
|
|
// Token: 0x06001114 RID: 4372 RVA: 0x00016DD4 File Offset: 0x00014FD4
|
|
internal static Object GetInternalUserData(ref PlayableOutputHandle handle)
|
|
{
|
|
return PlayableOutputHandle.INTERNAL_CALL_GetInternalUserData(ref handle);
|
|
}
|
|
|
|
// Token: 0x06001115 RID: 4373
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern Object INTERNAL_CALL_GetInternalUserData(ref PlayableOutputHandle handle);
|
|
|
|
// Token: 0x06001116 RID: 4374 RVA: 0x00016DF0 File Offset: 0x00014FF0
|
|
internal static void SetInternalUserData(ref PlayableOutputHandle handle, [Writable] Object target)
|
|
{
|
|
PlayableOutputHandle.INTERNAL_CALL_SetInternalUserData(ref handle, target);
|
|
}
|
|
|
|
// Token: 0x06001117 RID: 4375
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_SetInternalUserData(ref PlayableOutputHandle handle, [Writable] Object target);
|
|
|
|
// Token: 0x06001118 RID: 4376 RVA: 0x00016DFC File Offset: 0x00014FFC
|
|
internal PlayableHandle GetSourcePlayable()
|
|
{
|
|
return PlayableOutputHandle.GetSourcePlayableInternal(ref this);
|
|
}
|
|
|
|
// Token: 0x06001119 RID: 4377 RVA: 0x00016E18 File Offset: 0x00015018
|
|
internal void SetSourcePlayable(PlayableHandle value)
|
|
{
|
|
PlayableOutputHandle.SetSourcePlayableInternal(ref this, ref value);
|
|
}
|
|
|
|
// Token: 0x0600111A RID: 4378 RVA: 0x00016E24 File Offset: 0x00015024
|
|
internal static PlayableHandle GetSourcePlayableInternal(ref PlayableOutputHandle handle)
|
|
{
|
|
PlayableHandle playableHandle;
|
|
PlayableOutputHandle.INTERNAL_CALL_GetSourcePlayableInternal(ref handle, out playableHandle);
|
|
return playableHandle;
|
|
}
|
|
|
|
// Token: 0x0600111B RID: 4379
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_GetSourcePlayableInternal(ref PlayableOutputHandle handle, out PlayableHandle value);
|
|
|
|
// Token: 0x0600111C RID: 4380 RVA: 0x00016E44 File Offset: 0x00015044
|
|
internal static void SetSourcePlayableInternal(ref PlayableOutputHandle handle, ref PlayableHandle target)
|
|
{
|
|
PlayableOutputHandle.INTERNAL_CALL_SetSourcePlayableInternal(ref handle, ref target);
|
|
}
|
|
|
|
// Token: 0x0600111D RID: 4381
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_SetSourcePlayableInternal(ref PlayableOutputHandle handle, ref PlayableHandle target);
|
|
|
|
// Token: 0x0600111E RID: 4382 RVA: 0x00016E50 File Offset: 0x00015050
|
|
internal int GetSourceInputPort()
|
|
{
|
|
return PlayableOutputHandle.GetSourceInputPortInternal(ref this);
|
|
}
|
|
|
|
// Token: 0x0600111F RID: 4383 RVA: 0x00016E6C File Offset: 0x0001506C
|
|
internal void SetSourceInputPort(int value)
|
|
{
|
|
PlayableOutputHandle.SetSourceInputPortInternal(ref this, value);
|
|
}
|
|
|
|
// Token: 0x06001120 RID: 4384 RVA: 0x00016E78 File Offset: 0x00015078
|
|
internal static int GetSourceInputPortInternal(ref PlayableOutputHandle handle)
|
|
{
|
|
return PlayableOutputHandle.INTERNAL_CALL_GetSourceInputPortInternal(ref handle);
|
|
}
|
|
|
|
// Token: 0x06001121 RID: 4385
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern int INTERNAL_CALL_GetSourceInputPortInternal(ref PlayableOutputHandle handle);
|
|
|
|
// Token: 0x06001122 RID: 4386 RVA: 0x00016E94 File Offset: 0x00015094
|
|
internal static void SetSourceInputPortInternal(ref PlayableOutputHandle handle, int port)
|
|
{
|
|
PlayableOutputHandle.INTERNAL_CALL_SetSourceInputPortInternal(ref handle, port);
|
|
}
|
|
|
|
// Token: 0x06001123 RID: 4387
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_SetSourceInputPortInternal(ref PlayableOutputHandle handle, int port);
|
|
|
|
// Token: 0x06001124 RID: 4388 RVA: 0x00016EA0 File Offset: 0x000150A0
|
|
internal float GetWeight()
|
|
{
|
|
return PlayableOutputHandle.GetWeightInternal(ref this);
|
|
}
|
|
|
|
// Token: 0x06001125 RID: 4389 RVA: 0x00016EBC File Offset: 0x000150BC
|
|
internal void SetWeight(float value)
|
|
{
|
|
PlayableOutputHandle.SetWeightInternal(ref this, value);
|
|
}
|
|
|
|
// Token: 0x06001126 RID: 4390 RVA: 0x00016EC8 File Offset: 0x000150C8
|
|
internal static void SetWeightInternal(ref PlayableOutputHandle handle, float weight)
|
|
{
|
|
PlayableOutputHandle.INTERNAL_CALL_SetWeightInternal(ref handle, weight);
|
|
}
|
|
|
|
// Token: 0x06001127 RID: 4391
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_SetWeightInternal(ref PlayableOutputHandle handle, float weight);
|
|
|
|
// Token: 0x06001128 RID: 4392 RVA: 0x00016ED4 File Offset: 0x000150D4
|
|
internal static float GetWeightInternal(ref PlayableOutputHandle handle)
|
|
{
|
|
return PlayableOutputHandle.INTERNAL_CALL_GetWeightInternal(ref handle);
|
|
}
|
|
|
|
// Token: 0x06001129 RID: 4393
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern float INTERNAL_CALL_GetWeightInternal(ref PlayableOutputHandle handle);
|
|
|
|
// Token: 0x0600112A RID: 4394 RVA: 0x00016EF0 File Offset: 0x000150F0
|
|
public override int GetHashCode()
|
|
{
|
|
return this.m_Handle.GetHashCode() ^ this.m_Version.GetHashCode();
|
|
}
|
|
|
|
// Token: 0x0600112B RID: 4395 RVA: 0x00016F28 File Offset: 0x00015128
|
|
public static bool operator ==(PlayableOutputHandle lhs, PlayableOutputHandle rhs)
|
|
{
|
|
return PlayableOutputHandle.CompareVersion(lhs, rhs);
|
|
}
|
|
|
|
// Token: 0x0600112C RID: 4396 RVA: 0x00016F44 File Offset: 0x00015144
|
|
public static bool operator !=(PlayableOutputHandle lhs, PlayableOutputHandle rhs)
|
|
{
|
|
return !PlayableOutputHandle.CompareVersion(lhs, rhs);
|
|
}
|
|
|
|
// Token: 0x0600112D RID: 4397 RVA: 0x00016F64 File Offset: 0x00015164
|
|
public override bool Equals(object p)
|
|
{
|
|
return p is PlayableOutputHandle && PlayableOutputHandle.CompareVersion(this, (PlayableOutputHandle)p);
|
|
}
|
|
|
|
// Token: 0x0600112E RID: 4398 RVA: 0x00016F98 File Offset: 0x00015198
|
|
internal static bool CompareVersion(PlayableOutputHandle lhs, PlayableOutputHandle rhs)
|
|
{
|
|
return lhs.m_Handle == rhs.m_Handle && lhs.m_Version == rhs.m_Version;
|
|
}
|
|
|
|
// Token: 0x0400021A RID: 538
|
|
internal IntPtr m_Handle;
|
|
|
|
// Token: 0x0400021B RID: 539
|
|
internal int m_Version;
|
|
}
|
|
}
|