Compare commits

...

2 Commits

Author SHA1 Message Date
MrOkiDoki 53c54316e0
Merge pull request #73 from MrOkiDoki/develop
CTF bug on API
2023-08-27 11:46:19 -07:00
MrOkiDoki 7af837e24d CTF bug on API 2023-08-27 21:45:27 +03:00
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>