Skip to content

Commit 55a53cf

Browse files
committed
0.3.0
1 parent ae6a3ce commit 55a53cf

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

IngameOverlayPlugin.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace IngameOverlay
1818
[SyncPluginDependency("7216787b-507b-4eef-96fb-e993722acf2e", Version = "^1.4.3", Require = true)]
1919
public class IngameOverlayPlugin : Plugin
2020
{
21-
public const string PLUGIN_VERSION = "0.2.4";
21+
public const string PLUGIN_VERSION = "0.3.0";
2222
private string _currentStatusString = "Idle";
2323
private BreakTimeParser _breakTimeParser;
2424

Structs.cs

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public class GlobalConfig:IOverlayConfig
2626
public void Write(BinaryWriter bw)
2727
{
2828
bw.Write(true);//WasChanged
29+
bw.Write(new byte[3] { 0, 0, 0 });//Padding
2930
int size = Encoding.UTF8.GetBytes(GlyphRanges, 0, GlyphRanges.Length, _glyphRangesBuffer,0);
3031
_glyphRangesBuffer[size] = 0;
3132
bw.Write(_glyphRangesBuffer, 0, 64);
@@ -107,6 +108,7 @@ public void Write(BinaryWriter bw)
107108
bw.Write((int)FontSize);
108109
bw.Write(FontScale);
109110
bw.Write(Visibility);
111+
bw.Write(new byte[3] { 0, 0, 0 });//Padding
110112
}
111113

112114
private void WriteFloatArray(float[] arr, BinaryWriter bw)
@@ -126,6 +128,7 @@ public class OverlayConfigs:IOverlayConfig
126128
public void Write(BinaryWriter bw)
127129
{
128130
bw.Write(_needUpdateFonts);//WasChanged
131+
bw.Write(new byte[3] { 0, 0, 0 });//Padding
129132
bw.Write(OverlayConfigItems.Count);
130133
foreach (var item in OverlayConfigItems)
131134
item.Write(bw);

packages.config

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Extended.Wpf.Toolkit" version="3.0" targetFramework="net461" />
4-
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net461" />
54
</packages>

0 commit comments

Comments
 (0)