using System; using System.Runtime.CompilerServices; using UnityEngine.Scripting; namespace UnityEngine.Playables { // Token: 0x020002D5 RID: 725 [RequiredByNativeCode] public class PlayableDirector : Behaviour, IExposedPropertyTable { // Token: 0x17000AE7 RID: 2791 // (get) Token: 0x06002FDF RID: 12255 public extern PlayState state { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x17000AE8 RID: 2792 // (get) Token: 0x06002FE0 RID: 12256 RVA: 0x00046000 File Offset: 0x00044200 // (set) Token: 0x06002FE1 RID: 12257 RVA: 0x00046020 File Offset: 0x00044220 public PlayableAsset playableAsset { get { return this.GetPlayableAssetInternal() as PlayableAsset; } set { this.SetPlayableAssetInternal(value); } } // Token: 0x17000AE9 RID: 2793 // (get) Token: 0x06002FE2 RID: 12258 // (set) Token: 0x06002FE3 RID: 12259 public extern DirectorWrapMode extrapolationMode { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000AEA RID: 2794 // (get) Token: 0x06002FE4 RID: 12260 // (set) Token: 0x06002FE5 RID: 12261 public extern DirectorUpdateMode timeUpdateMode { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000AEB RID: 2795 // (get) Token: 0x06002FE6 RID: 12262 // (set) Token: 0x06002FE7 RID: 12263 public extern double time { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000AEC RID: 2796 // (get) Token: 0x06002FE8 RID: 12264 // (set) Token: 0x06002FE9 RID: 12265 public extern double initialTime { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x17000AED RID: 2797 // (get) Token: 0x06002FEA RID: 12266 public extern double duration { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x06002FEB RID: 12267 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void Evaluate(); // Token: 0x06002FEC RID: 12268 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void DeferredEvaluate(); // Token: 0x06002FED RID: 12269 RVA: 0x0004602C File Offset: 0x0004422C public void Play(PlayableAsset asset) { if (asset == null) { throw new ArgumentNullException("asset"); } this.Play(asset, this.extrapolationMode); } // Token: 0x06002FEE RID: 12270 RVA: 0x00046054 File Offset: 0x00044254 public void Play(PlayableAsset asset, DirectorWrapMode mode) { if (asset == null) { throw new ArgumentNullException("asset"); } this.playableAsset = asset; this.extrapolationMode = mode; this.Play(); } // Token: 0x06002FEF RID: 12271 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void SetPlayableAssetInternal(ScriptableObject asset); // Token: 0x06002FF0 RID: 12272 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern ScriptableObject GetPlayableAssetInternal(); // Token: 0x06002FF1 RID: 12273 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void Play(); // Token: 0x06002FF2 RID: 12274 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void Stop(); // Token: 0x06002FF3 RID: 12275 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] internal extern void StopImmediately(); // Token: 0x06002FF4 RID: 12276 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void Pause(); // Token: 0x06002FF5 RID: 12277 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void Resume(); // Token: 0x06002FF6 RID: 12278 RVA: 0x00046084 File Offset: 0x00044284 public void SetReferenceValue(PropertyName id, Object value) { PlayableDirector.INTERNAL_CALL_SetReferenceValue(this, ref id, value); } // Token: 0x06002FF7 RID: 12279 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_SetReferenceValue(PlayableDirector self, ref PropertyName id, Object value); // Token: 0x06002FF8 RID: 12280 RVA: 0x00046090 File Offset: 0x00044290 public Object GetReferenceValue(PropertyName id, out bool idValid) { return PlayableDirector.INTERNAL_CALL_GetReferenceValue(this, ref id, out idValid); } // Token: 0x06002FF9 RID: 12281 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern Object INTERNAL_CALL_GetReferenceValue(PlayableDirector self, ref PropertyName id, out bool idValid); // Token: 0x06002FFA RID: 12282 RVA: 0x000460B0 File Offset: 0x000442B0 public void ClearReferenceValue(PropertyName id) { PlayableDirector.INTERNAL_CALL_ClearReferenceValue(this, ref id); } // Token: 0x06002FFB RID: 12283 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_ClearReferenceValue(PlayableDirector self, ref PropertyName id); // Token: 0x17000AEE RID: 2798 // (get) Token: 0x06002FFC RID: 12284 RVA: 0x000460BC File Offset: 0x000442BC public PlayableGraph playableGraph { get { PlayableGraph playableGraph = default(PlayableGraph); this.InternalGetCurrentGraph(ref playableGraph); return playableGraph; } } // Token: 0x06002FFD RID: 12285 RVA: 0x000460E4 File Offset: 0x000442E4 private void InternalGetCurrentGraph(ref PlayableGraph graph) { PlayableDirector.INTERNAL_CALL_InternalGetCurrentGraph(this, ref graph); } // Token: 0x06002FFE RID: 12286 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_InternalGetCurrentGraph(PlayableDirector self, ref PlayableGraph graph); // Token: 0x06002FFF RID: 12287 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void SetGenericBinding(Object key, Object value); // Token: 0x06003000 RID: 12288 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern Object GetGenericBinding(Object key); // Token: 0x06003001 RID: 12289 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] internal extern bool HasGenericBinding(Object key); } }