CTF bug on API

This commit is contained in:
MrOkiDoki 2023-08-27 21:45:27 +03:00
parent 7a1571ebb7
commit 7af837e24d
3 changed files with 14 additions and 3 deletions

View File

@ -33,10 +33,10 @@
public const int MaxTokenSize = 512;
public const int MinGamemodeNameLength = 2;
public const int MaxGamemodeNameLength = 12;
public const int MaxGamemodeNameLength = 64;
public const int MinMapNameLength = 2;
public const int MaxMapNameLength = 36;
public const int MaxMapNameLength = 64;
public const int MinLoadingScreenTextLength = 0;
public const int MaxLoadingScreenTextLength = 1024 * 8;

View File

@ -56,6 +56,17 @@ namespace BattleBitAPI.Server
mResources.IsDirtyRoomSettings = true;
}
}
public bool HideMapVotes
{
get => mResources._RoomSettings.HideMapVotes;
set
{
if (mResources._RoomSettings.HideMapVotes == value)
return;
mResources._RoomSettings.HideMapVotes = value;
mResources.IsDirtyRoomSettings = true;
}
}
public bool CanVoteDay
{
get => mResources._RoomSettings.CanVoteDay;

View File

@ -18,7 +18,7 @@
<PackageProjectUrl>https://github.com/MrOkiDoki/BattleBit-Community-Server-API</PackageProjectUrl>
<RepositoryUrl>https://github.com/MrOkiDoki/BattleBit-Community-Server-API</RepositoryUrl>
<PackageTags>BattleBit</PackageTags>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
</PropertyGroup>
<ItemGroup>