forked from TiLied/CSharpToJavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGM.cs
More file actions
55 lines (46 loc) · 1.16 KB
/
GM.cs
File metadata and controls
55 lines (46 loc) · 1.16 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
50
51
52
53
54
55
using CSharpToJavaScript.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpToJavaScript.APIs.JS
{
[To(ToAttribute.Default)]
public partial class GM
{
public GM() { }
[To(ToAttribute.FirstCharToLowerCase)]
public static void DeleteValue(string name)
{
}
[To(ToAttribute.FirstCharToLowerCase)]
public static Task<dynamic> GetValue(string name)
{
return new Task<dynamic>(() => { return 0; });
}
[To(ToAttribute.FirstCharToLowerCase)]
public static void SetValue(string name, dynamic value)
{
}
[To(ToAttribute.FirstCharToLowerCase)]
public static Task<List<dynamic>> ListValues()
{
return new Task<List<dynamic>>(() => { return new List<dynamic>(); });
}
[To(ToAttribute.FirstCharToLowerCase)]
public static void OpenInTab(string url, bool open_in_background = false)
{
}
[To(ToAttribute.FirstCharToLowerCase)]
public static class Info
{
[To(ToAttribute.FirstCharToLowerCase)]
public static class Script
{
[To(ToAttribute.FirstCharToLowerCase)]
public static string Version { get; set; } = string.Empty;
}
}
}
}