|
void | Initialize () |
|
void | Remove (string netMessageName) |
|
IWriteMessage | Start () |
|
string | IdToString (ushort id) |
|
ushort | StringToId (string name) |
|
async void | HttpRequest (string url, LuaCsAction callback, string data=null, string method="POST", string contentType="application/json", Dictionary< string, string > headers=null, string savePath=null) |
|
void | HttpPost (string url, LuaCsAction callback, string data, string contentType="application/json", Dictionary< string, string > headers=null, string savePath=null) |
|
void | HttpGet (string url, LuaCsAction callback, Dictionary< string, string > headers=null, string savePath=null) |
|
void | CreateEntityEvent (INetSerializable entity, NetEntityEvent.IData extraData) |
|
void | NetMessageReceived (IReadMessage netMessage, ClientPacketHeader header, Client client=null) |
|
IWriteMessage | Start (string netMessageName) |
|
void | Receive (string netMessageName, LuaCsAction callback) |
|
ushort | RegisterId (string name) |
|
void | ClientWriteLobby (Client client) |
|
void | Send (IWriteMessage netMessage, NetworkConnection connection=null, DeliveryMethod deliveryMethod=DeliveryMethod.Reliable) |
|
void | UpdateClientPermissions (Client client) |
|
◆ ClientWriteLobby()
void Barotrauma.LuaCsNetworking.ClientWriteLobby |
( |
Client | client | ) |
|
◆ CreateEntityEvent()
◆ HttpGet()
void Barotrauma.LuaCsNetworking.HttpGet |
( |
string | url, |
|
|
LuaCsAction | callback, |
|
|
Dictionary< string, string > | headers = null, |
|
|
string | savePath = null ) |
◆ HttpPost()
void Barotrauma.LuaCsNetworking.HttpPost |
( |
string | url, |
|
|
LuaCsAction | callback, |
|
|
string | data, |
|
|
string | contentType = "application/json", |
|
|
Dictionary< string, string > | headers = null, |
|
|
string | savePath = null ) |
◆ HttpRequest()
async void Barotrauma.LuaCsNetworking.HttpRequest |
( |
string | url, |
|
|
LuaCsAction | callback, |
|
|
string | data = null, |
|
|
string | method = "POST", |
|
|
string | contentType = "application/json", |
|
|
Dictionary< string, string > | headers = null, |
|
|
string | savePath = null ) |
◆ IdToString()
string Barotrauma.LuaCsNetworking.IdToString |
( |
ushort | id | ) |
|
◆ Initialize()
void Barotrauma.LuaCsNetworking.Initialize |
( |
| ) |
|
◆ NetMessageReceived()
◆ Receive()
void Barotrauma.LuaCsNetworking.Receive |
( |
string | netMessageName, |
|
|
LuaCsAction | callback ) |
◆ RegisterId()
ushort Barotrauma.LuaCsNetworking.RegisterId |
( |
string | name | ) |
|
◆ Remove()
void Barotrauma.LuaCsNetworking.Remove |
( |
string | netMessageName | ) |
|
◆ Send()
void Barotrauma.LuaCsNetworking.Send |
( |
IWriteMessage | netMessage, |
|
|
NetworkConnection | connection = null, |
|
|
DeliveryMethod | deliveryMethod = DeliveryMethod::Reliable ) |
◆ Start() [1/2]
◆ Start() [2/2]
IWriteMessage Barotrauma.LuaCsNetworking.Start |
( |
string | netMessageName | ) |
|
◆ StringToId()
ushort Barotrauma.LuaCsNetworking.StringToId |
( |
string | name | ) |
|
◆ UpdateClientPermissions()
void Barotrauma.LuaCsNetworking.UpdateClientPermissions |
( |
Client | client | ) |
|
◆ RestrictMessageSize
bool Barotrauma.LuaCsNetworking.RestrictMessageSize = true |
◆ FileSenderMaxPacketsPerUpdate
int Barotrauma.LuaCsNetworking.FileSenderMaxPacketsPerUpdate |
|
getset |
◆ LastClientListUpdateID
ushort Barotrauma.LuaCsNetworking.LastClientListUpdateID |
|
getset |
The documentation for this class was generated from the following files:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/LuaCs/LuaCsNetworking.cs
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaServer/ServerSource/LuaCs/LuaCsNetworking.cs