aboutsummaryrefslogtreecommitdiff
path: root/.github/nativefuncs.json
diff options
context:
space:
mode:
authoruniboi <64006268+uniboi@users.noreply.github.com>2023-04-27 12:55:32 +0000
committerGitHub <noreply@github.com>2023-04-27 14:55:32 +0200
commit2d6ca83c3ab5f045dfbc5d0a167b925112b2bd84 (patch)
treed9f2b06a2e6206c0126bf7e02ae03f18ded80d09 /.github/nativefuncs.json
parentc89364cdef3b78c09723733e759d124c8dd76838 (diff)
downloadNorthstarMods-2d6ca83c3ab5f045dfbc5d0a167b925112b2bd84.tar.gz
NorthstarMods-2d6ca83c3ab5f045dfbc5d0a167b925112b2bd84.zip
Use structs in the server browser (#623)
* move to native structs * add connect callbacks * update native functions register * trigger callbacks on double click * use suggestions
Diffstat (limited to '.github/nativefuncs.json')
-rw-r--r--.github/nativefuncs.json74
1 files changed, 4 insertions, 70 deletions
diff --git a/.github/nativefuncs.json b/.github/nativefuncs.json
index f52a969c..751b4893 100644
--- a/.github/nativefuncs.json
+++ b/.github/nativefuncs.json
@@ -449,76 +449,10 @@
"argTypes":""
},
{
- "name":"NSGetServerName",
- "helpText":"",
- "returnTypeString":"string",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSGetServerDescription",
- "helpText":"",
- "returnTypeString":"string",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSGetServerMap",
- "helpText":"",
- "returnTypeString":"string",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSGetServerPlaylist",
- "helpText":"",
- "returnTypeString":"string",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSGetServerPlayerCount",
- "helpText":"",
- "returnTypeString":"int",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSGetServerMaxPlayerCount",
- "helpText":"",
- "returnTypeString":"int",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSGetServerID",
- "helpText":"",
- "returnTypeString":"string",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSServerRequiresPassword",
- "helpText":"",
- "returnTypeString":"bool",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSGetServerRequiredModsCount",
- "helpText":"",
- "returnTypeString":"int",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSGetServerRegion",
- "helpText":"",
- "returnTypeString":"string",
- "argTypes":"int serverIndex"
- },
- {
- "name":"NSGetServerRequiredModName",
- "helpText":"",
- "returnTypeString":"string",
- "argTypes":"int serverIndex, int modIndex"
- },
- {
- "name":"NSGetServerRequiredModVersion",
- "helpText":"",
- "returnTypeString":"string",
- "argTypes":"int serverIndex, int modIndex"
+ "name": "NSGetGameServers",
+ "helpText": "Gets all fetched servers",
+ "returnTypeString": "array<ServerInfo>",
+ "argTypes": ""
},
{
"name":"NSClearRecievedServerList",