Merge pull request #73 from MrOkiDoki/develop

CTF bug on API
This commit is contained in:
MrOkiDoki 2023-08-27 11:46:19 -07:00 committed by GitHub
commit 53c54316e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>