forked from hunterzonewu/unity-decompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNScreenBridge.cs
More file actions
49 lines (39 loc) · 1.45 KB
/
NScreenBridge.cs
File metadata and controls
49 lines (39 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Decompiled with JetBrains decompiler
// Type: UnityEngine.NScreenBridge
// Assembly: UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 01B28312-B6F5-4E06-90F6-BE297B711E41
// Assembly location: C:\Users\Blake\sandbox\unity\test-project\Library\UnityAssemblies\UnityEditor.dll
using System.Runtime.CompilerServices;
namespace UnityEngine
{
public sealed class NScreenBridge : Object
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public NScreenBridge();
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public void InitServer(int id);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public void Update();
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public void StartWatchdogForPid(int pid);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public void SetResolution(int x, int y);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public void SetInput(int x, int y, int button, int key, int type);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public void ResetInput();
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public Texture2D GetScreenTexture();
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public void Shutdown();
}
}