ы
This commit is contained in:
parent
a9be9f194f
commit
cfbd768f53
5 changed files with 49 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
using Content.Client._Sunrise.Entry;
|
||||
using Content.Client._Sunrise.ServersHub;
|
||||
using Content.Client.Administration.Managers;
|
||||
using Content.Client.Changelog;
|
||||
|
|
@ -25,6 +26,8 @@ using Content.Client.Voting;
|
|||
using Content.Shared.Ame.Components;
|
||||
using Content.Shared.Gravity;
|
||||
using Content.Shared.Localizations;
|
||||
using Content.Sunrise.Interfaces.Client;
|
||||
using Content.Sunrise.Interfaces.Shared;
|
||||
using Robust.Client;
|
||||
using Robust.Client.Graphics;
|
||||
using Robust.Client.Input;
|
||||
|
|
@ -141,6 +144,10 @@ namespace Content.Client.Entry
|
|||
|
||||
_serversHubManager.Initialize(); // Sunrise-Hub
|
||||
|
||||
// Sunrise-Sponsors-Start
|
||||
SunriseClientEntry.Init();
|
||||
// Sunrise-Sponsors-End
|
||||
|
||||
//AUTOSCALING default Setup!
|
||||
_configManager.SetCVar("interface.resolutionAutoScaleUpperCutoffX", 1080);
|
||||
_configManager.SetCVar("interface.resolutionAutoScaleUpperCutoffY", 720);
|
||||
|
|
@ -177,6 +184,10 @@ namespace Content.Client.Entry
|
|||
_documentParsingManager.Initialize();
|
||||
_titleWindowManager.Initialize();
|
||||
|
||||
// Sunrise-Sponsors-Start
|
||||
SunriseClientEntry.PostInit();
|
||||
// Sunrise-Sponsors-End
|
||||
|
||||
_baseClient.RunLevelChanged += (_, args) =>
|
||||
{
|
||||
if (args.NewLevel == ClientRunLevel.Initialize)
|
||||
|
|
|
|||
12
Content.Client/_Sunrise/Entry/SunriseClientEntry.cs
Normal file
12
Content.Client/_Sunrise/Entry/SunriseClientEntry.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
namespace Content.Client._Sunrise.Entry;
|
||||
|
||||
public sealed class SunriseClientEntry
|
||||
{
|
||||
public static void Init()
|
||||
{
|
||||
}
|
||||
|
||||
public static void PostInit()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
using Content.Server._Sunrise.Entry;
|
||||
using Content.Server._Sunrise.GuideGenerator;
|
||||
using Content.Server._Sunrise.ServersHub;
|
||||
using Content.Server._Sunrise.TTS;
|
||||
|
|
@ -29,6 +30,8 @@ using Content.Server.Voting.Managers;
|
|||
using Content.Shared.CCVar;
|
||||
using Content.Shared.Kitchen;
|
||||
using Content.Shared.Localizations;
|
||||
using Content.Sunrise.Interfaces.Server;
|
||||
using Content.Sunrise.Interfaces.Shared;
|
||||
using Robust.Server;
|
||||
using Robust.Server.ServerStatus;
|
||||
using Robust.Shared.Configuration;
|
||||
|
|
@ -119,6 +122,10 @@ namespace Content.Server.Entry
|
|||
|
||||
IoCManager.Resolve<ServersHubManager>().Initialize(); // Sunrise-Hub
|
||||
|
||||
// Sunrise-Sponsors-Start
|
||||
SunriseServerEntry.Init();
|
||||
// Sunrise-Sponsors-End
|
||||
|
||||
_voteManager.Initialize();
|
||||
_updateManager.Initialize();
|
||||
_playTimeTracking.Initialize();
|
||||
|
|
@ -172,6 +179,9 @@ namespace Content.Server.Entry
|
|||
IoCManager.Resolve<IBanManager>().Initialize();
|
||||
IoCManager.Resolve<IConnectionManager>().PostInit();
|
||||
IoCManager.Resolve<MultiServerKickManager>().Initialize();
|
||||
// Sunrise-Sponsors-Start
|
||||
SunriseServerEntry.PostInit();
|
||||
// Sunrise-Sponsors-End
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
15
Content.Server/_Sunrise/Entry/SunriseServerEntry.cs
Normal file
15
Content.Server/_Sunrise/Entry/SunriseServerEntry.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using Content.Sunrise.Interfaces.Server;
|
||||
using Content.Sunrise.Interfaces.Shared;
|
||||
|
||||
namespace Content.Server._Sunrise.Entry;
|
||||
|
||||
public sealed class SunriseServerEntry
|
||||
{
|
||||
public static void Init()
|
||||
{
|
||||
}
|
||||
|
||||
public static void PostInit()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: BaseMusicTape
|
||||
Loading…
Add table
Reference in a new issue