|
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) |
|
void | RemovePendingClient (ServerPeer.PendingClient pendingClient, PeerDisconnectPacket peerDisconnectPacket) |
|
◆ 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 | ) |
|
◆ RemovePendingClient()
void Barotrauma.LuaCsNetworking.RemovePendingClient |
( |
ServerPeer.PendingClient |
pendingClient, |
|
|
PeerDisconnectPacket |
peerDisconnectPacket |
|
) |
| |
◆ Send()
◆ 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 |