scripts
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x020000A5 RID: 165
|
||||
internal sealed class PlayerConnectionInternal : IPlayerEditorConnectionNative
|
||||
{
|
||||
// Token: 0x06000BDC RID: 3036 RVA: 0x000110B8 File Offset: 0x0000F2B8
|
||||
void IPlayerEditorConnectionNative.SendMessage(Guid messageId, byte[] data, int playerId)
|
||||
{
|
||||
if (messageId == Guid.Empty)
|
||||
{
|
||||
throw new ArgumentException("messageId must not be empty");
|
||||
}
|
||||
PlayerConnectionInternal.SendMessage(messageId.ToString("N"), data, playerId);
|
||||
}
|
||||
|
||||
// Token: 0x06000BDD RID: 3037 RVA: 0x000110EC File Offset: 0x0000F2EC
|
||||
void IPlayerEditorConnectionNative.RegisterInternal(Guid messageId)
|
||||
{
|
||||
PlayerConnectionInternal.RegisterInternal(messageId.ToString("N"));
|
||||
}
|
||||
|
||||
// Token: 0x06000BDE RID: 3038 RVA: 0x00011100 File Offset: 0x0000F300
|
||||
void IPlayerEditorConnectionNative.UnregisterInternal(Guid messageId)
|
||||
{
|
||||
PlayerConnectionInternal.UnregisterInternal(messageId.ToString("N"));
|
||||
}
|
||||
|
||||
// Token: 0x06000BDF RID: 3039 RVA: 0x00011114 File Offset: 0x0000F314
|
||||
void IPlayerEditorConnectionNative.Initialize()
|
||||
{
|
||||
PlayerConnectionInternal.Initialize();
|
||||
}
|
||||
|
||||
// Token: 0x06000BE0 RID: 3040 RVA: 0x0001111C File Offset: 0x0000F31C
|
||||
bool IPlayerEditorConnectionNative.IsConnected()
|
||||
{
|
||||
return PlayerConnectionInternal.IsConnected();
|
||||
}
|
||||
|
||||
// Token: 0x06000BE1 RID: 3041 RVA: 0x00011138 File Offset: 0x0000F338
|
||||
void IPlayerEditorConnectionNative.DisconnectAll()
|
||||
{
|
||||
PlayerConnectionInternal.DisconnectAll();
|
||||
}
|
||||
|
||||
// Token: 0x06000BE2 RID: 3042
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern bool IsConnected();
|
||||
|
||||
// Token: 0x06000BE3 RID: 3043
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern void Initialize();
|
||||
|
||||
// Token: 0x06000BE4 RID: 3044
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern void RegisterInternal(string messageId);
|
||||
|
||||
// Token: 0x06000BE5 RID: 3045
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern void UnregisterInternal(string messageId);
|
||||
|
||||
// Token: 0x06000BE6 RID: 3046
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern void SendMessage(string messageId, byte[] data, int playerId);
|
||||
|
||||
// Token: 0x06000BE7 RID: 3047
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern void DisconnectAll();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user