mirror of
https://github.com/omltcat/dcs-lua-definitions.git
synced 2025-11-10 15:48:52 +00:00
Add to Server Only comments.
This commit is contained in:
parent
ee13344155
commit
e4ed4df2b1
@ -90,7 +90,8 @@ function net.json2lua(json) end
|
||||
---@return boolean
|
||||
function net.kick(playerId, message) end
|
||||
|
||||
---# SERVER ONLY
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Loads the specified mission.<br>
|
||||
---Example: Loads a mission from your saved games/missions folder.
|
||||
@ -101,7 +102,8 @@ function net.kick(playerId, message) end
|
||||
---@return boolean -- True if the mission was successfully loaded, false otherwise.
|
||||
function net.load_mission(fileName) end
|
||||
|
||||
---# SERVER ONLY
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Loads the next mission from the server mission list.
|
||||
---@return boolean -- True if the next mission was successfully loaded, false if at the end of the list.
|
||||
@ -174,7 +176,8 @@ function net.get_chat_history(from) end
|
||||
---@field banned_from number Unix time of ban start.
|
||||
---@field banned_until number Unix time of ban end.
|
||||
|
||||
---# SERVER ONLY
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Returns an array of active ban records.
|
||||
---___
|
||||
@ -191,6 +194,7 @@ function net.banlist_get() end
|
||||
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Adds a ban and kicks the player of 'id'. <br>
|
||||
---'period' is the duration of ban in seconds.
|
||||
@ -203,6 +207,7 @@ function net.banlist_add(id, period, reason) end
|
||||
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Lifts the ban from a player with the given 'ucid'.
|
||||
---___
|
||||
@ -217,6 +222,7 @@ function net.banlist_remove(ucid) end
|
||||
---@field current string Name of the current mission.
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Returns a table with current mission list.
|
||||
---___
|
||||
@ -230,6 +236,7 @@ function net.banlist_remove(ucid) end
|
||||
function net.missionlist_get() end
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Adds a mission to the list.
|
||||
---___
|
||||
@ -238,6 +245,7 @@ function net.missionlist_get() end
|
||||
function net.missionlist_append(miz_filename) end
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Deletes a mission from the list at the given index.
|
||||
---___
|
||||
@ -246,6 +254,7 @@ function net.missionlist_append(miz_filename) end
|
||||
function net.missionlist_delete(miz_index) end
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Moves a mission to a new location in the list.
|
||||
---___
|
||||
@ -255,6 +264,7 @@ function net.missionlist_delete(miz_index) end
|
||||
function net.missionlist_move(old_index, new_index) end
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Set the server to shuffle, or not to shuffle, the mission list.
|
||||
---___
|
||||
@ -262,6 +272,7 @@ function net.missionlist_move(old_index, new_index) end
|
||||
function net.missionlist_set_shuffle(bool) end
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Set the server to loop, or not to loop, the mission list.
|
||||
---___
|
||||
@ -269,6 +280,7 @@ function net.missionlist_set_shuffle(bool) end
|
||||
function net.missionlist_set_loop(bool) end
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Runs a mission at the given index.
|
||||
---___
|
||||
@ -277,6 +289,7 @@ function net.missionlist_set_loop(bool) end
|
||||
function net.missionlist_run(miz_index) end
|
||||
|
||||
--- # SERVER ONLY
|
||||
--- - Not available in the Mission scripting environment.
|
||||
---___
|
||||
---Clear the entire mission list.
|
||||
---___
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user