Register IConfigService and add back some missing APIs

This commit is contained in:
Evil Factory
2026-04-08 15:32:31 -03:00
parent 1294ba6dec
commit d440ccbce2
4 changed files with 52 additions and 0 deletions
@@ -10,6 +10,8 @@ internal interface ILuaCsNetworking : ILuaCsShim
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 RequestGetHTTP(string url, LuaCsAction callback, Dictionary<string, string> headers = null, string savePath = null);
void RequestPostHTTP(string url, LuaCsAction callback, string data, string contentType = "application/json", Dictionary<string, string> headers = null, string savePath = null);
void Receive(string netId, LuaCsAction action);
#if SERVER