Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cubicgraphics committed Apr 16, 2024
1 parent 5ced0a6 commit a344bea
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 144 deletions.
25 changes: 0 additions & 25 deletions BeatTogether.DedicatedServer.Interface/Models/AvatarData.cs

This file was deleted.

14 changes: 0 additions & 14 deletions BeatTogether.DedicatedServer.Interface/Models/BeatmapIdentifier.cs

This file was deleted.

44 changes: 0 additions & 44 deletions BeatTogether.DedicatedServer.Interface/Models/GameplayModifiers.cs

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public interface IDedicatedInstance

float NoPlayersTime { get; }

//IHandshakeSessionRegistry GetHandshakeSessionRegistry();
IPlayerRegistry GetPlayerRegistry();
IServiceProvider GetServiceProvider();

Expand Down
8 changes: 0 additions & 8 deletions BeatTogether.DedicatedServer.Node/NodeService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,6 @@ private void HandleGameInLobbyEvent(string secret, bool state)
{
_autobus.Publish(new ServerInGameplayEvent(secret, !state, string.Empty));
}
public static Interface.Models.GameplayModifiers GameplayCast(GameplayModifiers v)
{
return new Interface.Models.GameplayModifiers((Interface.Models.EnergyType)v.Energy, v.NoFailOn0Energy, v.DemoNoFail, v.InstaFail, v.FailOnSaberClash, (Interface.Models.EnabledObstacleType)v.EnabledObstacle, v.DemoNoObstacles, v.FastNotes, v.StrictAngles, v.DisappearingArrows, v.GhostNotes, v.NoBombs, (Interface.Models.SongSpeed)v.Speed, v.NoArrows, v.ProMode, v.ZenMode, v.SmallCubes);
}
public static Interface.Models.LevelCompletionResults LevelCompletionCast(LevelCompletionResults y)
{
return new(GameplayCast(y.GameplayModifiers), y.ModifiedScore, y.MultipliedScore, (Interface.Models.Rank)y.Rank, y.FullCombo, y.LeftSaberMovementDistance, y.RightSaberMovementDistance, y.LeftHandMovementDistance, y.RightHandMovementDistance, (Interface.Models.LevelEndStateType)y.LevelEndStateType, (Interface.Models.LevelEndAction)y.LevelEndAction, y.Energy, y.GoodCutsCount, y.BadCutsCount, y.MissedCount, y.NotGoodCount, y.OkCount, y.MaxCutScore, y.TotalCutScore, y.GoodCutsCountForNotesWithFullScoreScoringType, y.AverageCenterDistanceCutScoreForNotesWithFullScoreScoringType, y.AverageCutScoreForNotesWithFullScoreScoringType, y.MaxCombo, y.EndSongTime);
}

private void HandleConfigChangeEvent(IDedicatedInstance inst)
{
Expand Down

0 comments on commit a344bea

Please sign in to comment.