Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
opl- committed Jun 18, 2019
1 parent cdf90ff commit 31ce055
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions BeatSaberHTTPStatus/BeatSaberHTTPStatusPlugin.csproj
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{1C0571AC-F8D6-4F9E-93b2-2F23892AE61E}</ProjectGuid>
<ProjectGuid>{1C0571AC-F8D6-4F9E-93B2-2F23892AE61E}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BeatSaberHTTPStatus</RootNamespace>
Expand Down
6 changes: 3 additions & 3 deletions BeatSaberHTTPStatus/Plugin.cs
Expand Up @@ -82,7 +82,7 @@ public class Plugin : IPlugin {
}

if (scoreController != null) {
scoreController.noteWasCutEvent += OnNoteWasCut;
scoreController.noteWasCutEvent -= OnNoteWasCut;
scoreController.noteWasMissedEvent -= OnNoteWasMissed;
scoreController.scoreDidChangeEvent -= OnScoreDidChange;
scoreController.comboDidChangeEvent -= OnComboDidChange;
Expand Down Expand Up @@ -145,7 +145,7 @@ public class Plugin : IPlugin {
scoreController.noteWasCutEvent += OnNoteWasCut;
// public ScoreController#noteWasMissedEvent<NoteData, int multiplier>
scoreController.noteWasMissedEvent += OnNoteWasMissed;
// public ScoreController#scoreDidChangeEvent<int> // score
// public ScoreController#scoreDidChangeEvent<int, int> // score
scoreController.scoreDidChangeEvent += OnScoreDidChange;
// public ScoreController#comboDidChangeEvent<int> // combo
scoreController.comboDidChangeEvent += OnComboDidChange;
Expand Down Expand Up @@ -380,7 +380,7 @@ public class Plugin : IPlugin {

SetNoteCutStatus(noteData, noteCutInfo);

// public ScoreController.ScoreWithoutMultiplier(NoteCutInfo, SaberAfterCutSwingRatingCounter, out int beforeCutScore, out int afterCutScore, out int cutDistanceScore)
// public ScoreController.RawScoreWithoutMultiplier(NoteCutInfo, SaberAfterCutSwingRatingCounter, out int beforeCutScore, out int afterCutScore, out int cutDistanceScore)
ScoreController.RawScoreWithoutMultiplier(noteCutInfo, null, out score, out afterScore, out cutDistanceScore);

int multiplier = (int) afterCutScoreBufferMultiplierField.GetValue(acsb);
Expand Down
2 changes: 1 addition & 1 deletion BeatSaberHTTPStatus/Properties/AssemblyInfo.cs
Expand Up @@ -19,7 +19,7 @@
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1C0571AC-F8D6-4F9E-93b2-2F23892AE61E")]
[assembly: Guid("1C0571AC-F8D6-4F9E-93B2-2F23892AE61E")]

// Version information for an assembly consists of the following four values:
//
Expand Down
10 changes: 5 additions & 5 deletions BeatSaberHTTPStatusPlugin.sln
@@ -1,15 +1,15 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BeatSaberHTTPStatus", "BeatSaberHTTPStatus\BeatSaberHTTPStatusPlugin.csproj", "{1C0571AC-F8D6-4F9E-93b2-2F23892AE61E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BeatSaberHTTPStatus", "BeatSaberHTTPStatus\BeatSaberHTTPStatusPlugin.csproj", "{1C0571AC-F8D6-4F9E-93B2-2F23892AE61E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1C0571AC-F8D6-4F9E-93b2-2F23892AE61E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1C0571AC-F8D6-4F9E-93b2-2F23892AE61E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C0571AC-F8D6-4F9E-93b2-2F23892AE61E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C0571AC-F8D6-4F9E-93b2-2F23892AE61E}.Release|Any CPU.Build.0 = Release|Any CPU
{1C0571AC-F8D6-4F9E-93B2-2F23892AE61E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1C0571AC-F8D6-4F9E-93B2-2F23892AE61E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C0571AC-F8D6-4F9E-93B2-2F23892AE61E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C0571AC-F8D6-4F9E-93B2-2F23892AE61E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 opl
Copyright (c) 2018-2019 opl

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 31ce055

Please sign in to comment.