mirror of
https://github.com/MrOkiDoki/BattleBit-Community-Server-API.git
synced 2025-01-09 11:17:30 -03:00
commit
53c54316e0
3 changed files with 14 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue