misc doc fixes
This commit is contained in:
@@ -701,7 +701,7 @@ namespace Barotrauma
|
||||
|
||||
var tempBuffer = new ReadWriteMessage();
|
||||
WriteStatus(tempBuffer);
|
||||
if (msgLengthBeforeStatus + tempBuffer.LengthBytes >= 255 && restrictMessageSize && GameMain.LuaCs.Networking.restrictMessageSize)
|
||||
if (msgLengthBeforeStatus + tempBuffer.LengthBytes >= 255 && restrictMessageSize && GameMain.LuaCs.Networking.RestrictMessageSize)
|
||||
{
|
||||
msg.Write(false);
|
||||
if (msgLengthBeforeStatus < 255)
|
||||
|
||||
@@ -96,6 +96,7 @@ namespace Barotrauma
|
||||
GenerateDocs(typeof(AfflictionPrefab), "AfflictionPrefab.lua", "AfflictionPrefab");
|
||||
GenerateDocs(typeof(WayPoint), "WayPoint.lua", "WayPoint");
|
||||
GenerateDocs(typeof(ServerSettings), "ServerSettings.lua", "Game.ServerSettings");
|
||||
GenerateDocs(typeof(GameSettings), "GameSettings.lua", "Game.Settings");
|
||||
}
|
||||
|
||||
public static void GenerateDocs(Type type, string name, string categoryName = null)
|
||||
|
||||
@@ -218,7 +218,7 @@ namespace Barotrauma
|
||||
|
||||
partial class LuaCsNetworking
|
||||
{
|
||||
public bool restrictMessageSize = true;
|
||||
public bool RestrictMessageSize = true;
|
||||
public Dictionary<string, LuaCsAction> LuaCsNetReceives = new Dictionary<string, LuaCsAction>();
|
||||
|
||||
#if SERVER
|
||||
|
||||
Reference in New Issue
Block a user