Skip to content

Commit

Permalink
Update Archipelago.MultiClient.Net to v6.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
toasterparty committed Aug 27, 2024
1 parent 28eb256 commit d95458f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions OC2Modding/ArchipelagoClient/ArchipelagoClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ private static void UpdateItems()
try
{
doFlush = true;
NetworkItem item = session.Items.AllItemsReceived[OC2Config.Config.ItemIndex];
ItemInfo item = session.Items.AllItemsReceived[OC2Config.Config.ItemIndex];
OC2Config.Config.ItemIndex++;

long itemId = item.Item - 213700; // "oc2" in ascii
long itemId = item.ItemId - 213700; // "oc2" in ascii
if (!GiveItem((int)itemId))
{
OC2Modding.Log.LogError("Archipelago sent an item which goes above our inventory limits");
Expand Down Expand Up @@ -582,9 +582,9 @@ private static LoginResult ConnectionAttempt(string server, string user, string
{
// Set of completed levels and their completed star counts
session.DataStorage[PseudoSaveKey].Initialize(JObject.FromObject(new Dictionary<int, int>()));
session.DataStorage[PseudoSaveKey].OnValueChanged += (_old, _new) =>
session.DataStorage[PseudoSaveKey].OnValueChanged += (oldData, newData, additionalArguments) =>
{
OnPseudoSaveChanged(_new.ToObject<Dictionary<int, int>>());
OnPseudoSaveChanged(newData.ToObject<Dictionary<int, int>>());
};

// Reverse semaphore for ensuring connections are between the right people
Expand Down
4 changes: 2 additions & 2 deletions OC2Modding/OC2Modding.csproj.epic
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>net46</TargetFramework>
<AssemblyName>com.github.toasterparty.oc2modding.epic</AssemblyName>
<Description>Overcooked! 2 Modding</Description>
<Version>1.9.4</Version>
<Version>1.9.5</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
</PropertyGroup>
Expand All @@ -13,7 +13,7 @@
<PackageReference Include="BepInEx.Unity" Version="6.0.0-*" IncludeAssets="compile" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
<PackageReference Include="UnityEngine.Modules" Version="2018.4.32" IncludeAssets="compile" />
<PackageReference Include="Archipelago.MultiClient.Net" Version="5.0.6" />
<PackageReference Include="Archipelago.MultiClient.Net" Version="6.3.1" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
Expand Down
4 changes: 2 additions & 2 deletions OC2Modding/OC2Modding.csproj.steam
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>net35</TargetFramework>
<AssemblyName>com.github.toasterparty.oc2modding.steam</AssemblyName>
<Description>Overcooked! 2 Modding</Description>
<Version>1.9.4</Version>
<Version>1.9.5</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
</PropertyGroup>
Expand All @@ -13,7 +13,7 @@
<PackageReference Include="BepInEx.Core" Version="5.*" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
<PackageReference Include="UnityEngine.Modules" Version="2017.4.8" IncludeAssets="compile" />
<PackageReference Include="Archipelago.MultiClient.Net" Version="5.0.6" />
<PackageReference Include="Archipelago.MultiClient.Net" Version="6.3.1" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
Expand Down

0 comments on commit d95458f

Please sign in to comment.