Compare commits
1
Commits
c0d9e66fc8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3283b66044 |
@@ -1,3 +1,4 @@
|
|||||||
|
./sts2_src
|
||||||
## Ignore Visual Studio temporary files, build results, and
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
## files generated by popular Visual Studio add-ons.
|
## files generated by popular Visual Studio add-ons.
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Components
|
|||||||
{
|
{
|
||||||
var locString = new LocString("main_menu_ui", LocKeyPrefix);
|
var locString = new LocString("main_menu_ui", LocKeyPrefix);
|
||||||
SetTextAutoSize(locString.GetFormattedText());
|
SetTextAutoSize(locString.GetFormattedText());
|
||||||
this.ApplyLocaleFontSubstitution(FontType.Regular, ThemeConstants.Label.font);
|
this.ApplyLocaleFontSubstitution(FontType.Regular, ThemeConstants.Label.Font);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -48,7 +48,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Components
|
|||||||
{
|
{
|
||||||
var locString = new LocString("main_menu_ui", _locKeyPrefix);
|
var locString = new LocString("main_menu_ui", _locKeyPrefix);
|
||||||
SetTextAutoSize(locString.GetFormattedText());
|
SetTextAutoSize(locString.GetFormattedText());
|
||||||
this.ApplyLocaleFontSubstitution(FontType.Regular, ThemeConstants.Label.font);
|
this.ApplyLocaleFontSubstitution(FontType.Regular, ThemeConstants.Label.Font);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Models
|
|||||||
public string playerName;
|
public string playerName;
|
||||||
|
|
||||||
public bool ShouldBroadcast => false;
|
public bool ShouldBroadcast => false;
|
||||||
|
public bool ShouldBuffer => false;
|
||||||
public NetTransferMode Mode => NetTransferMode.Reliable;
|
public NetTransferMode Mode => NetTransferMode.Reliable;
|
||||||
public LogLevel LogLevel => LogLevel.Info;
|
public LogLevel LogLevel => LogLevel.Info;
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Models
|
|||||||
public PlayerNames playerNames;
|
public PlayerNames playerNames;
|
||||||
|
|
||||||
public bool ShouldBroadcast => false;
|
public bool ShouldBroadcast => false;
|
||||||
|
public bool ShouldBuffer => false;
|
||||||
public NetTransferMode Mode => NetTransferMode.Reliable;
|
public NetTransferMode Mode => NetTransferMode.Reliable;
|
||||||
public LogLevel LogLevel => LogLevel.Info;
|
public LogLevel LogLevel => LogLevel.Info;
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ using SlayTheSpire2.LAN.Multiplayer.Services;
|
|||||||
|
|
||||||
namespace SlayTheSpire2.LAN.Multiplayer.Patchs
|
namespace SlayTheSpire2.LAN.Multiplayer.Patchs
|
||||||
{
|
{
|
||||||
[HarmonyPatch(typeof(RunSaveManager), "SaveRun")]
|
[HarmonyPatch(typeof(RunSaveManager), "SaveRun", new[] { typeof(AbstractRoom) })]
|
||||||
internal class RunSaveManagerSaveRunPatch
|
internal class RunSaveManagerSaveRunPatch
|
||||||
{
|
{
|
||||||
private static bool Prefix(RunSaveManager __instance, AbstractRoom? preFinishedRoom, bool ____forceSynchronous,
|
private static bool Prefix(RunSaveManager __instance, AbstractRoom? preFinishedRoom, bool ____forceSynchronous,
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<AssemblyVersion>1.6.3.0</AssemblyVersion>
|
<AssemblyVersion>1.6.3.0</AssemblyVersion>
|
||||||
<FileVersion>1.6.3.0</FileVersion>
|
<FileVersion>1.6.3.0</FileVersion>
|
||||||
|
<GodotProjectDir>$(MSBuildProjectDirectory)</GodotProjectDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -14,16 +15,16 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="0Harmony">
|
<Reference Include="0Harmony">
|
||||||
<HintPath>V:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64\0Harmony.dll</HintPath>
|
<HintPath>$(HOME)/.steam/steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/0Harmony.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="GodotSharp">
|
<Reference Include="GodotSharp">
|
||||||
<HintPath>V:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64\GodotSharp.dll</HintPath>
|
<HintPath>$(HOME)/.steam/steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/GodotSharp.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Steamworks.NET">
|
<Reference Include="Steamworks.NET">
|
||||||
<HintPath>V:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64\Steamworks.NET.dll</HintPath>
|
<HintPath>$(HOME)/.steam/steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/Steamworks.NET.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="sts2">
|
<Reference Include="sts2">
|
||||||
<HintPath>V:\SteamLibrary\steamapps\common\Slay the Spire 2\data_sts2_windows_x86_64\sts2.dll</HintPath>
|
<HintPath>$(HOME)/.steam/steam/steamapps/common/Slay the Spire 2/data_sts2_linuxbsd_x86_64/sts2.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user