using System; using System.Runtime.CompilerServices; using UnityEngine.Internal; using UnityEngine.Scripting; namespace UnityEngine.Playables { // Token: 0x020000E4 RID: 228 [UsedByNativeCode] public struct PlayableGraph { // Token: 0x060010B7 RID: 4279 RVA: 0x00016788 File Offset: 0x00014988 public bool IsValid() { return PlayableGraph.IsValidInternal(ref this); } // Token: 0x060010B8 RID: 4280 RVA: 0x000167A4 File Offset: 0x000149A4 private static bool IsValidInternal(ref PlayableGraph graph) { return PlayableGraph.INTERNAL_CALL_IsValidInternal(ref graph); } // Token: 0x060010B9 RID: 4281 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern bool INTERNAL_CALL_IsValidInternal(ref PlayableGraph graph); // Token: 0x060010BA RID: 4282 RVA: 0x000167C0 File Offset: 0x000149C0 public static PlayableGraph Create() { PlayableGraph playableGraph = default(PlayableGraph); PlayableGraph.CreateInternal(ref playableGraph); return playableGraph; } // Token: 0x060010BB RID: 4283 RVA: 0x000167E8 File Offset: 0x000149E8 internal static void CreateInternal(ref PlayableGraph graph) { PlayableGraph.INTERNAL_CALL_CreateInternal(ref graph); } // Token: 0x060010BC RID: 4284 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_CreateInternal(ref PlayableGraph graph); // Token: 0x060010BD RID: 4285 RVA: 0x000167F4 File Offset: 0x000149F4 public bool IsDone() { return PlayableGraph.IsDoneInternal(ref this); } // Token: 0x060010BE RID: 4286 RVA: 0x00016810 File Offset: 0x00014A10 internal static bool IsDoneInternal(ref PlayableGraph graph) { return PlayableGraph.INTERNAL_CALL_IsDoneInternal(ref graph); } // Token: 0x060010BF RID: 4287 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern bool INTERNAL_CALL_IsDoneInternal(ref PlayableGraph graph); // Token: 0x060010C0 RID: 4288 RVA: 0x0001682C File Offset: 0x00014A2C public bool IsPlaying() { return PlayableGraph.IsPlayingInternal(ref this); } // Token: 0x060010C1 RID: 4289 RVA: 0x00016848 File Offset: 0x00014A48 internal static bool IsPlayingInternal(ref PlayableGraph graph) { return PlayableGraph.INTERNAL_CALL_IsPlayingInternal(ref graph); } // Token: 0x060010C2 RID: 4290 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern bool INTERNAL_CALL_IsPlayingInternal(ref PlayableGraph graph); // Token: 0x060010C3 RID: 4291 RVA: 0x00016864 File Offset: 0x00014A64 public IExposedPropertyTable GetResolver() { return PlayableGraph.GetResolverInternal(ref this); } // Token: 0x060010C4 RID: 4292 RVA: 0x00016880 File Offset: 0x00014A80 public void SetResolver(IExposedPropertyTable value) { PlayableGraph.SetResolverInternal(ref this, value); } // Token: 0x060010C5 RID: 4293 RVA: 0x0001688C File Offset: 0x00014A8C internal static IExposedPropertyTable GetResolverInternal(ref PlayableGraph graph) { return PlayableGraph.INTERNAL_CALL_GetResolverInternal(ref graph); } // Token: 0x060010C6 RID: 4294 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern IExposedPropertyTable INTERNAL_CALL_GetResolverInternal(ref PlayableGraph graph); // Token: 0x060010C7 RID: 4295 RVA: 0x000168A8 File Offset: 0x00014AA8 internal static void SetResolverInternal(ref PlayableGraph graph, IExposedPropertyTable resolver) { PlayableGraph.INTERNAL_CALL_SetResolverInternal(ref graph, resolver); } // Token: 0x060010C8 RID: 4296 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_SetResolverInternal(ref PlayableGraph graph, IExposedPropertyTable resolver); // Token: 0x060010C9 RID: 4297 RVA: 0x000168B4 File Offset: 0x00014AB4 public void Play() { PlayableGraph.PlayInternal(ref this); } // Token: 0x060010CA RID: 4298 RVA: 0x000168C0 File Offset: 0x00014AC0 internal static void PlayInternal(ref PlayableGraph graph) { PlayableGraph.INTERNAL_CALL_PlayInternal(ref graph); } // Token: 0x060010CB RID: 4299 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_PlayInternal(ref PlayableGraph graph); // Token: 0x060010CC RID: 4300 RVA: 0x000168CC File Offset: 0x00014ACC public void Stop() { PlayableGraph.StopInternal(ref this); } // Token: 0x060010CD RID: 4301 RVA: 0x000168D8 File Offset: 0x00014AD8 internal static void StopInternal(ref PlayableGraph graph) { PlayableGraph.INTERNAL_CALL_StopInternal(ref graph); } // Token: 0x060010CE RID: 4302 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_StopInternal(ref PlayableGraph graph); // Token: 0x060010CF RID: 4303 RVA: 0x000168E4 File Offset: 0x00014AE4 public int GetPlayableCount() { return PlayableGraph.GetPlayableCountInternal(ref this); } // Token: 0x060010D0 RID: 4304 RVA: 0x00016900 File Offset: 0x00014B00 internal static int GetPlayableCountInternal(ref PlayableGraph graph) { return PlayableGraph.INTERNAL_CALL_GetPlayableCountInternal(ref graph); } // Token: 0x060010D1 RID: 4305 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern int INTERNAL_CALL_GetPlayableCountInternal(ref PlayableGraph graph); // Token: 0x060010D2 RID: 4306 RVA: 0x0001691C File Offset: 0x00014B1C public DirectorUpdateMode GetTimeUpdateMode() { return PlayableGraph.GetUpdateModeInternal(ref this); } // Token: 0x060010D3 RID: 4307 RVA: 0x00016938 File Offset: 0x00014B38 public void SetTimeUpdateMode(DirectorUpdateMode value) { PlayableGraph.SetUpdateModeInternal(ref this, value); } // Token: 0x060010D4 RID: 4308 RVA: 0x00016944 File Offset: 0x00014B44 private static DirectorUpdateMode GetUpdateModeInternal(ref PlayableGraph graph) { return PlayableGraph.INTERNAL_CALL_GetUpdateModeInternal(ref graph); } // Token: 0x060010D5 RID: 4309 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern DirectorUpdateMode INTERNAL_CALL_GetUpdateModeInternal(ref PlayableGraph graph); // Token: 0x060010D6 RID: 4310 RVA: 0x00016960 File Offset: 0x00014B60 private static void SetUpdateModeInternal(ref PlayableGraph graph, DirectorUpdateMode mode) { PlayableGraph.INTERNAL_CALL_SetUpdateModeInternal(ref graph, mode); } // Token: 0x060010D7 RID: 4311 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_SetUpdateModeInternal(ref PlayableGraph graph, DirectorUpdateMode mode); // Token: 0x060010D8 RID: 4312 RVA: 0x0001696C File Offset: 0x00014B6C internal static bool CreateScriptOutputInternal(ref PlayableGraph graph, string name, out PlayableOutputHandle handle) { return PlayableGraph.INTERNAL_CALL_CreateScriptOutputInternal(ref graph, name, out handle); } // Token: 0x060010D9 RID: 4313 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern bool INTERNAL_CALL_CreateScriptOutputInternal(ref PlayableGraph graph, string name, out PlayableOutputHandle handle); // Token: 0x060010DA RID: 4314 RVA: 0x0001698C File Offset: 0x00014B8C internal PlayableHandle CreatePlayableHandle() { PlayableHandle @null = PlayableHandle.Null; PlayableHandle playableHandle; if (!PlayableGraph.CreatePlayableHandleInternal(ref this, ref @null)) { playableHandle = PlayableHandle.Null; } else { playableHandle = @null; } return playableHandle; } // Token: 0x060010DB RID: 4315 RVA: 0x000169C0 File Offset: 0x00014BC0 private static bool CreatePlayableHandleInternal(ref PlayableGraph graph, ref PlayableHandle handle) { return PlayableGraph.INTERNAL_CALL_CreatePlayableHandleInternal(ref graph, ref handle); } // Token: 0x060010DC RID: 4316 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern bool INTERNAL_CALL_CreatePlayableHandleInternal(ref PlayableGraph graph, ref PlayableHandle handle); // Token: 0x060010DD RID: 4317 RVA: 0x000169DC File Offset: 0x00014BDC public void Destroy() { PlayableGraph.DestroyInternal(ref this); } // Token: 0x060010DE RID: 4318 RVA: 0x000169E8 File Offset: 0x00014BE8 private static void DestroyInternal(ref PlayableGraph graph) { PlayableGraph.INTERNAL_CALL_DestroyInternal(ref graph); } // Token: 0x060010DF RID: 4319 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DestroyInternal(ref PlayableGraph graph); // Token: 0x060010E0 RID: 4320 RVA: 0x000169F4 File Offset: 0x00014BF4 private static bool ConnectInternal(ref PlayableGraph graph, PlayableHandle source, int sourceOutputPort, PlayableHandle destination, int destinationInputPort) { return PlayableGraph.INTERNAL_CALL_ConnectInternal(ref graph, ref source, sourceOutputPort, ref destination, destinationInputPort); } // Token: 0x060010E1 RID: 4321 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern bool INTERNAL_CALL_ConnectInternal(ref PlayableGraph graph, ref PlayableHandle source, int sourceOutputPort, ref PlayableHandle destination, int destinationInputPort); // Token: 0x060010E2 RID: 4322 RVA: 0x00016A18 File Offset: 0x00014C18 private static void DisconnectInternal(ref PlayableGraph graph, PlayableHandle playable, int inputPort) { PlayableGraph.INTERNAL_CALL_DisconnectInternal(ref graph, ref playable, inputPort); } // Token: 0x060010E3 RID: 4323 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DisconnectInternal(ref PlayableGraph graph, ref PlayableHandle playable, int inputPort); // Token: 0x060010E4 RID: 4324 RVA: 0x00016A24 File Offset: 0x00014C24 private static void DestroyPlayableInternal(ref PlayableGraph graph, PlayableHandle playable) { PlayableGraph.INTERNAL_CALL_DestroyPlayableInternal(ref graph, ref playable); } // Token: 0x060010E5 RID: 4325 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DestroyPlayableInternal(ref PlayableGraph graph, ref PlayableHandle playable); // Token: 0x060010E6 RID: 4326 RVA: 0x00016A30 File Offset: 0x00014C30 internal static void DestroyOutputInternal(ref PlayableGraph graph, PlayableOutputHandle handle) { PlayableGraph.INTERNAL_CALL_DestroyOutputInternal(ref graph, ref handle); } // Token: 0x060010E7 RID: 4327 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DestroyOutputInternal(ref PlayableGraph graph, ref PlayableOutputHandle handle); // Token: 0x060010E8 RID: 4328 RVA: 0x00016A3C File Offset: 0x00014C3C private static void DestroySubgraphInternal(ref PlayableGraph graph, PlayableHandle playable) { PlayableGraph.INTERNAL_CALL_DestroySubgraphInternal(ref graph, ref playable); } // Token: 0x060010E9 RID: 4329 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DestroySubgraphInternal(ref PlayableGraph graph, ref PlayableHandle playable); // Token: 0x060010EA RID: 4330 RVA: 0x00016A48 File Offset: 0x00014C48 [ExcludeFromDocs] public void Evaluate() { float num = 0f; this.Evaluate(num); } // Token: 0x060010EB RID: 4331 RVA: 0x00016A64 File Offset: 0x00014C64 public void Evaluate([DefaultValue("0")] float deltaTime) { PlayableGraph.EvaluateInternal(ref this, deltaTime); } // Token: 0x060010EC RID: 4332 RVA: 0x00016A70 File Offset: 0x00014C70 internal static void EvaluateInternal(ref PlayableGraph graph, float deltaTime) { PlayableGraph.INTERNAL_CALL_EvaluateInternal(ref graph, deltaTime); } // Token: 0x060010ED RID: 4333 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_EvaluateInternal(ref PlayableGraph graph, float deltaTime); // Token: 0x060010EE RID: 4334 RVA: 0x00016A7C File Offset: 0x00014C7C public int GetRootPlayableCount() { return PlayableGraph.GetRootPlayableCountInternal(ref this); } // Token: 0x060010EF RID: 4335 RVA: 0x00016A98 File Offset: 0x00014C98 internal static int GetRootPlayableCountInternal(ref PlayableGraph graph) { return PlayableGraph.INTERNAL_CALL_GetRootPlayableCountInternal(ref graph); } // Token: 0x060010F0 RID: 4336 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern int INTERNAL_CALL_GetRootPlayableCountInternal(ref PlayableGraph graph); // Token: 0x060010F1 RID: 4337 RVA: 0x00016AB4 File Offset: 0x00014CB4 public Playable GetRootPlayable(int index) { PlayableHandle @null = PlayableHandle.Null; PlayableGraph.GetRootPlayableInternal(index, ref this, ref @null); return new Playable(@null); } // Token: 0x060010F2 RID: 4338 RVA: 0x00016AE0 File Offset: 0x00014CE0 internal static void GetRootPlayableInternal(int index, ref PlayableGraph graph, ref PlayableHandle handle) { PlayableGraph.INTERNAL_CALL_GetRootPlayableInternal(index, ref graph, ref handle); } // Token: 0x060010F3 RID: 4339 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_GetRootPlayableInternal(int index, ref PlayableGraph graph, ref PlayableHandle handle); // Token: 0x060010F4 RID: 4340 RVA: 0x00016AEC File Offset: 0x00014CEC private static int GetOutputCountInternal(ref PlayableGraph graph) { return PlayableGraph.INTERNAL_CALL_GetOutputCountInternal(ref graph); } // Token: 0x060010F5 RID: 4341 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern int INTERNAL_CALL_GetOutputCountInternal(ref PlayableGraph graph); // Token: 0x060010F6 RID: 4342 RVA: 0x00016B08 File Offset: 0x00014D08 private static bool GetOutputInternal(ref PlayableGraph graph, int index, out PlayableOutputHandle handle) { return PlayableGraph.INTERNAL_CALL_GetOutputInternal(ref graph, index, out handle); } // Token: 0x060010F7 RID: 4343 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern bool INTERNAL_CALL_GetOutputInternal(ref PlayableGraph graph, int index, out PlayableOutputHandle handle); // Token: 0x060010F8 RID: 4344 RVA: 0x00016B28 File Offset: 0x00014D28 private static int GetOutputCountByTypeInternal(ref PlayableGraph graph, Type outputType) { return PlayableGraph.INTERNAL_CALL_GetOutputCountByTypeInternal(ref graph, outputType); } // Token: 0x060010F9 RID: 4345 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern int INTERNAL_CALL_GetOutputCountByTypeInternal(ref PlayableGraph graph, Type outputType); // Token: 0x060010FA RID: 4346 RVA: 0x00016B44 File Offset: 0x00014D44 private static bool GetOutputByTypeInternal(ref PlayableGraph graph, Type outputType, int index, out PlayableOutputHandle handle) { return PlayableGraph.INTERNAL_CALL_GetOutputByTypeInternal(ref graph, outputType, index, out handle); } // Token: 0x060010FB RID: 4347 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern bool INTERNAL_CALL_GetOutputByTypeInternal(ref PlayableGraph graph, Type outputType, int index, out PlayableOutputHandle handle); // Token: 0x060010FC RID: 4348 RVA: 0x00016B64 File Offset: 0x00014D64 public bool Connect(U source, int sourceOutputPort, V destination, int destinationInputPort) where U : struct, IPlayable where V : struct, IPlayable { return PlayableGraph.ConnectInternal(ref this, source.GetHandle(), sourceOutputPort, destination.GetHandle(), destinationInputPort); } // Token: 0x060010FD RID: 4349 RVA: 0x00016B9C File Offset: 0x00014D9C public void Disconnect(U input, int inputPort) where U : struct, IPlayable { PlayableGraph.DisconnectInternal(ref this, input.GetHandle(), inputPort); } // Token: 0x060010FE RID: 4350 RVA: 0x00016BB4 File Offset: 0x00014DB4 public void DestroyPlayable(U playable) where U : struct, IPlayable { PlayableGraph.DestroyPlayableInternal(ref this, playable.GetHandle()); } // Token: 0x060010FF RID: 4351 RVA: 0x00016BCC File Offset: 0x00014DCC public void DestroySubgraph(U playable) where U : struct, IPlayable { PlayableGraph.DestroySubgraphInternal(ref this, playable.GetHandle()); } // Token: 0x06001100 RID: 4352 RVA: 0x00016BE4 File Offset: 0x00014DE4 public void DestroyOutput(U output) where U : struct, IPlayableOutput { PlayableGraph.DestroyOutputInternal(ref this, output.GetHandle()); } // Token: 0x06001101 RID: 4353 RVA: 0x00016BFC File Offset: 0x00014DFC public int GetOutputCount() { return PlayableGraph.GetOutputCountInternal(ref this); } // Token: 0x06001102 RID: 4354 RVA: 0x00016C18 File Offset: 0x00014E18 public int GetOutputCountByType() where T : struct, IPlayableOutput { return PlayableGraph.GetOutputCountByTypeInternal(ref this, typeof(T)); } // Token: 0x06001103 RID: 4355 RVA: 0x00016C40 File Offset: 0x00014E40 public PlayableOutput GetOutput(int index) { PlayableOutputHandle playableOutputHandle; PlayableOutput playableOutput; if (!PlayableGraph.GetOutputInternal(ref this, index, out playableOutputHandle)) { playableOutput = PlayableOutput.Null; } else { playableOutput = new PlayableOutput(playableOutputHandle); } return playableOutput; } // Token: 0x06001104 RID: 4356 RVA: 0x00016C74 File Offset: 0x00014E74 public PlayableOutput GetOutputByType(int index) where T : struct, IPlayableOutput { PlayableOutputHandle playableOutputHandle; PlayableOutput playableOutput; if (!PlayableGraph.GetOutputByTypeInternal(ref this, typeof(T), index, out playableOutputHandle)) { playableOutput = PlayableOutput.Null; } else { playableOutput = new PlayableOutput(playableOutputHandle); } return playableOutput; } // Token: 0x04000218 RID: 536 internal IntPtr m_Handle; // Token: 0x04000219 RID: 537 internal int m_Version; } }