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
@@ -0,0 +1,82 @@
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine.Windows.Speech
{
// Token: 0x020000F0 RID: 240
public static class PhraseRecognitionSystem
{
// Token: 0x17000381 RID: 897
// (get) Token: 0x060011A0 RID: 4512
[ThreadAndSerializationSafe]
public static extern bool isSupported
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x17000382 RID: 898
// (get) Token: 0x060011A1 RID: 4513
public static extern SpeechSystemStatus Status
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x060011A2 RID: 4514
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern void Restart();
// Token: 0x060011A3 RID: 4515
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern void Shutdown();
// Token: 0x14000009 RID: 9
// (add) Token: 0x060011A4 RID: 4516 RVA: 0x00017844 File Offset: 0x00015A44
// (remove) Token: 0x060011A5 RID: 4517 RVA: 0x00017878 File Offset: 0x00015A78
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
public static event PhraseRecognitionSystem.ErrorDelegate OnError;
// Token: 0x1400000A RID: 10
// (add) Token: 0x060011A6 RID: 4518 RVA: 0x000178AC File Offset: 0x00015AAC
// (remove) Token: 0x060011A7 RID: 4519 RVA: 0x000178E0 File Offset: 0x00015AE0
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
public static event PhraseRecognitionSystem.StatusDelegate OnStatusChanged;
// Token: 0x060011A8 RID: 4520 RVA: 0x00017914 File Offset: 0x00015B14
[RequiredByNativeCode]
private static void PhraseRecognitionSystem_InvokeErrorEvent(SpeechError errorCode)
{
PhraseRecognitionSystem.ErrorDelegate onError = PhraseRecognitionSystem.OnError;
if (onError != null)
{
onError(errorCode);
}
}
// Token: 0x060011A9 RID: 4521 RVA: 0x00017938 File Offset: 0x00015B38
[RequiredByNativeCode]
private static void PhraseRecognitionSystem_InvokeStatusChangedEvent(SpeechSystemStatus status)
{
PhraseRecognitionSystem.StatusDelegate onStatusChanged = PhraseRecognitionSystem.OnStatusChanged;
if (onStatusChanged != null)
{
onStatusChanged(status);
}
}
// Token: 0x020000F1 RID: 241
// (Invoke) Token: 0x060011AB RID: 4523
public delegate void ErrorDelegate(SpeechError errorCode);
// Token: 0x020000F2 RID: 242
// (Invoke) Token: 0x060011AF RID: 4527
public delegate void StatusDelegate(SpeechSystemStatus status);
}
}