|
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 | SendSyncMessage () |
|
void | NetMessageReceived (IReadMessage netMessage, ServerPacketHeader header, Client client=null) |
|
IWriteMessage | Start (string netMessageName) |
|
void | Receive (string netMessageName, LuaCsAction callback) |
|
void | RequestId (string netMessageName) |
|
void | Send (IWriteMessage netMessage, DeliveryMethod deliveryMethod=DeliveryMethod.Reliable) |
|
◆ 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 |
|
) |
| |
◆ Remove()
void Barotrauma.LuaCsNetworking.Remove |
( |
string |
netMessageName | ) |
|
◆ RequestId()
void Barotrauma.LuaCsNetworking.RequestId |
( |
string |
netMessageName | ) |
|
◆ Send()
◆ SendSyncMessage()
void Barotrauma.LuaCsNetworking.SendSyncMessage |
( |
| ) |
|
◆ Start() [1/2]
◆ Start() [2/2]
IWriteMessage Barotrauma.LuaCsNetworking.Start |
( |
string |
netMessageName | ) |
|
◆ StringToId()
ushort Barotrauma.LuaCsNetworking.StringToId |
( |
string |
name | ) |
|
◆ RestrictMessageSize
bool Barotrauma.LuaCsNetworking.RestrictMessageSize = true |
◆ LastClientListUpdateID
ushort Barotrauma.LuaCsNetworking.LastClientListUpdateID |
|
getset |