-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EXILED::API]
Adding SendFakeSceneLoading (#2756)
* Added UsersWhitelisted in Server.cs * MirrorExtensions Rework * Removed wrong import * Rework * Fixed issue and renamed the functions * Fixed Stylecop and issue with building * Fixed Name * Changed Name from UsersWhitelisted to WhitelistedPlayers * Scenes Loader Added * Simplification * Is this ok? * Fix Stylecop here * Update Player.cs * Update Server.cs * Update ScenesType.cs --------- Co-authored-by: xNexusACS <83370388+xNexusACS@users.noreply.github.com>
- Loading branch information
1 parent
c6ec7f3
commit 4efc121
Showing
3 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// ----------------------------------------------------------------------- | ||
// <copyright file="ScenesType.cs" company="Exiled Team"> | ||
// Copyright (c) Exiled Team. All rights reserved. | ||
// Licensed under the CC BY-SA 3.0 license. | ||
// </copyright> | ||
// ----------------------------------------------------------------------- | ||
|
||
namespace Exiled.API.Enums | ||
{ | ||
/// <summary> | ||
/// Unique identifier for the different types of Scenes the client and server can load. | ||
/// </summary> | ||
public enum ScenesType | ||
{ | ||
/// <summary> | ||
/// The facility itself. | ||
/// </summary> | ||
Facility, | ||
|
||
/// <summary> | ||
/// The current main menu. | ||
/// ! Will cause crash when trying joining servers ! | ||
/// </summary> | ||
NewMainMenu, | ||
|
||
/// <summary> | ||
/// The old main menu. | ||
/// </summary> | ||
MainMenuRemastered, | ||
|
||
/// <summary> | ||
/// The old server list. | ||
/// </summary> | ||
FastMenu, | ||
|
||
/// <summary> | ||
/// The loading Screen. | ||
/// ! Will cause crash when trying joining servers ! | ||
/// </summary> | ||
PreLoader, | ||
|
||
/// <summary> | ||
/// A black menu before loading the <see cref="NewMainMenu"/>. | ||
/// </summary> | ||
Loader, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters