port: net: add movement update rate to ini

This commit is contained in:
fgsfds committed 2023-12-26 16:21:07 +01:00
1 parent 454086be6b
commit a541c79eda
1 file changed
+2
+2
View File
@@ -820,8 +820,10 @@ PD_CONSTRUCTOR static void netConfigInit(void)
configRegisterString("Net.Client.LastJoinAddr", g_NetLastJoinAddr, NET_MAX_ADDR);
configRegisterUInt("Net.Client.InRate", &g_NetClientInRate, 0, 10 * 1024 * 1024);
configRegisterUInt("Net.Client.OutRate", &g_NetClientOutRate, 0, 10 * 1024 * 1024);
configRegisterUInt("Net.Client.UpdateFrames", &g_NetClientUpdateRate, 0, 60);
configRegisterUInt("Net.Server.Port", &g_NetServerPort, 0, 0xFFFF);
configRegisterUInt("Net.Server.InRate", &g_NetServerInRate, 0, 10 * 1024 * 1024);
configRegisterUInt("Net.Server.OutRate", &g_NetServerOutRate, 0, 10 * 1024 * 1024);
configRegisterUInt("Net.Server.UpdateFrames", &g_NetServerUpdateRate, 0, 60);
}