terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
AudioClip.cs
Go to the documentation of this file.
1using System;
6
7namespace UnityEngine
8{
9 // Token: 0x02000005 RID: 5
10 [StaticAccessor("AudioClipBindings", StaticAccessorType.DoubleColon)]
11 [NativeHeader("Modules/Audio/Public/ScriptBindings/Audio.bindings.h")]
12 public sealed class AudioClip : Object
13 {
14 // Token: 0x17000003 RID: 3
15 // (get) Token: 0x0600000F RID: 15 RVA: 0x00002184 File Offset: 0x00000384
16 [NativeProperty("LengthSec")]
17 public float length
18 {
19 get
20 {
21 throw new MissingMethodException();
22 }
23 }
24
25 // Token: 0x06000010 RID: 16 RVA: 0x00002198 File Offset: 0x00000398
27 private void InvokePCMReaderCallback_Internal(float[] data)
28 {
30 if (pcmreaderCallback != null)
31 {
32 IntPtr invoke_impl = pcmreaderCallback.invoke_impl;
33 IntPtr method_code = pcmreaderCallback.method_code;
34 IntPtr method = pcmreaderCallback.method;
35 return;
36 }
37 }
38
39 // Token: 0x06000011 RID: 17 RVA: 0x000021C8 File Offset: 0x000003C8
41 private void InvokePCMSetPositionCallback_Internal(int position)
42 {
44 if (pcmsetPositionCallback != null)
45 {
46 IntPtr invoke_impl = pcmsetPositionCallback.invoke_impl;
47 IntPtr method_code = pcmsetPositionCallback.method_code;
48 IntPtr method = pcmsetPositionCallback.method;
49 return;
50 }
51 }
52
53 // Token: 0x04000007 RID: 7
57
58 // Token: 0x04000008 RID: 8
62
63 // Token: 0x02000006 RID: 6
65 {
66 // Token: 0x06000012 RID: 18 RVA: 0x000021F8 File Offset: 0x000003F8
67 public PCMReaderCallback(object @object, IntPtr method)
68 {
70 this.m_target = @object;
72 this.method_code = this;
73 }
74
75 // Token: 0x06000013 RID: 19 RVA: 0x0000224C File Offset: 0x0000044C
76 public void Invoke(float[] data)
77 {
80 IntPtr method = this.method;
81 }
82 }
83
84 // Token: 0x02000007 RID: 7
86 {
87 // Token: 0x06000014 RID: 20 RVA: 0x00002270 File Offset: 0x00000470
88 public PCMSetPositionCallback(object @object, IntPtr method)
89 {
91 this.m_target = @object;
93 this.method_code = this;
94 }
95
96 // Token: 0x06000015 RID: 21 RVA: 0x000022C4 File Offset: 0x000004C4
97 public void Invoke(int position)
98 {
101 IntPtr method = this.method;
102 }
103 }
104 }
105}
class f__AnonymousType0<< Count > j__TPar
IntPtr method_code
Definition Delegate.cs:386
DelegateData data
Definition Delegate.cs:401
IntPtr invoke_impl
Definition Delegate.cs:371
PCMReaderCallback(object @object, IntPtr method)
Definition AudioClip.cs:67
PCMSetPositionCallback(object @object, IntPtr method)
Definition AudioClip.cs:88
void InvokePCMReaderCallback_Internal(float[] data)
Definition AudioClip.cs:27
AudioClip.PCMReaderCallback m_PCMReaderCallback
Definition AudioClip.cs:56
AudioClip.PCMSetPositionCallback m_PCMSetPositionCallback
Definition AudioClip.cs:61
void InvokePCMSetPositionCallback_Internal(int position)
Definition AudioClip.cs:41