mirror of
https://github.com/MrOkiDoki/BattleBit-Community-Server-API.git
synced 2025-01-26 03:03:08 -03:00
CTF bug on API
This commit is contained in:
parent
7a1571ebb7
commit
7af837e24d
3 changed files with 14 additions and 3 deletions
|
@ -33,10 +33,10 @@
|
||||||
public const int MaxTokenSize = 512;
|
public const int MaxTokenSize = 512;
|
||||||
|
|
||||||
public const int MinGamemodeNameLength = 2;
|
public const int MinGamemodeNameLength = 2;
|
||||||
public const int MaxGamemodeNameLength = 12;
|
public const int MaxGamemodeNameLength = 64;
|
||||||
|
|
||||||
public const int MinMapNameLength = 2;
|
public const int MinMapNameLength = 2;
|
||||||
public const int MaxMapNameLength = 36;
|
public const int MaxMapNameLength = 64;
|
||||||
|
|
||||||
public const int MinLoadingScreenTextLength = 0;
|
public const int MinLoadingScreenTextLength = 0;
|
||||||
public const int MaxLoadingScreenTextLength = 1024 * 8;
|
public const int MaxLoadingScreenTextLength = 1024 * 8;
|
||||||
|
|
|
@ -56,6 +56,17 @@ namespace BattleBitAPI.Server
|
||||||
mResources.IsDirtyRoomSettings = true;
|
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
|
public bool CanVoteDay
|
||||||
{
|
{
|
||||||
get => mResources._RoomSettings.CanVoteDay;
|
get => mResources._RoomSettings.CanVoteDay;
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<PackageProjectUrl>https://github.com/MrOkiDoki/BattleBit-Community-Server-API</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/MrOkiDoki/BattleBit-Community-Server-API</PackageProjectUrl>
|
||||||
<RepositoryUrl>https://github.com/MrOkiDoki/BattleBit-Community-Server-API</RepositoryUrl>
|
<RepositoryUrl>https://github.com/MrOkiDoki/BattleBit-Community-Server-API</RepositoryUrl>
|
||||||
<PackageTags>BattleBit</PackageTags>
|
<PackageTags>BattleBit</PackageTags>
|
||||||
<Version>1.0.3</Version>
|
<Version>1.0.4</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Add table
Reference in a new issue