diff --git a/Fika.Core/Coop/GameMode/CoopGame.cs b/Fika.Core/Coop/GameMode/CoopGame.cs index 1ea1f3a0..df951a56 100644 --- a/Fika.Core/Coop/GameMode/CoopGame.cs +++ b/Fika.Core/Coop/GameMode/CoopGame.cs @@ -1629,7 +1629,7 @@ public override void Stop(string profileId, ExitStatus exitStatus, string exitNa { if (myPlayer.Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem != null) { - GStruct414 result = InteractionsHandlerClass.Remove(myPlayer.Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem, myPlayer.GClass2774_0, false, true); + GStruct415 result = InteractionsHandlerClass.Remove(myPlayer.Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem, myPlayer.GClass2774_0, false, true); if (result.Error != null) { FikaPlugin.Instance.FikaLogger.LogWarning("CoopGame::Stop: Error removing dog tag!"); @@ -1777,7 +1777,7 @@ private void StopFromError(string profileId, ExitStatus exitStatus) { if (myPlayer.Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem != null) { - GStruct414 result = InteractionsHandlerClass.Remove(myPlayer.Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem, myPlayer.GClass2774_0, false, true); + GStruct415 result = InteractionsHandlerClass.Remove(myPlayer.Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem, myPlayer.GClass2774_0, false, true); if (result.Error != null) { FikaPlugin.Instance.FikaLogger.LogWarning("CoopGame::StopFromError: Error removing dog tag!"); diff --git a/Fika.Core/Coop/Players/CoopPlayer.cs b/Fika.Core/Coop/Players/CoopPlayer.cs index 3d524f69..1c974c3d 100644 --- a/Fika.Core/Coop/Players/CoopPlayer.cs +++ b/Fika.Core/Coop/Players/CoopPlayer.cs @@ -849,7 +849,7 @@ protected virtual void Start() { if (Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem != null) { - GStruct414 result = InteractionsHandlerClass.Remove(Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem, _inventoryController, false, true); + GStruct415 result = InteractionsHandlerClass.Remove(Equipment.GetSlot(EquipmentSlot.Dogtag).ContainedItem, _inventoryController, false, true); if (result.Error != null) { FikaPlugin.Instance.FikaLogger.LogWarning("CoopPlayer::Start: Error removing dog tag!"); @@ -1036,7 +1036,7 @@ public virtual void HandleInventoryPacket(in InventoryPacket packet) using BinaryReader binaryReader = new(memoryStream); try { - GStruct411 result = ToInventoryOperation(binaryReader.ReadPolymorph()); + GStruct412 result = ToInventoryOperation(binaryReader.ReadPolymorph()); InventoryOperationHandler opHandler = new(result); @@ -1406,7 +1406,7 @@ public Item FindItem(string itemId) return item; } - GStruct416 itemResult = FindItemById(itemId); + GStruct417 itemResult = FindItemById(itemId); if (itemResult.Error != null) { FikaPlugin.Instance.FikaLogger.LogError($"CoopPlayer::FindItem: Could not find item with id '{itemId}' in the world at all."); @@ -1418,7 +1418,7 @@ public Item FindItem(string itemId) private class KeyHandler(CoopPlayer player) { private readonly CoopPlayer player = player; - public GStruct416 unlockResult; + public GStruct417 unlockResult; internal void HandleKeyEvent() { @@ -1426,9 +1426,9 @@ internal void HandleKeyEvent() } } - private class InventoryOperationHandler(GStruct411 opResult) + private class InventoryOperationHandler(GStruct412 opResult) { - public readonly GStruct411 opResult = opResult; + public readonly GStruct412 opResult = opResult; internal void HandleResult(IResult result) { diff --git a/Fika.Core/Networking/FikaServer.cs b/Fika.Core/Networking/FikaServer.cs index 3e790b4d..98a92f47 100644 --- a/Fika.Core/Networking/FikaServer.cs +++ b/Fika.Core/Networking/FikaServer.cs @@ -486,7 +486,7 @@ private void OnInventoryPacketReceived(InventoryPacket packet, NetPeer peer) using BinaryReader binaryReader = new(memoryStream); try { - GStruct411 result = playerToApply.ToInventoryOperation(binaryReader.ReadPolymorph()); + GStruct412 result = playerToApply.ToInventoryOperation(binaryReader.ReadPolymorph()); InventoryOperationHandler opHandler = new() { @@ -733,7 +733,7 @@ public void OnNetworkReceive(NetPeer peer, NetPacketReader reader, byte channelN private class InventoryOperationHandler { - public GStruct411 opResult; + public GStruct412 opResult; public uint operationId; public int netId; public NetPeer peer; diff --git a/References/hollowed.dll b/References/hollowed.dll index c4363426..90ca2a2f 100644 Binary files a/References/hollowed.dll and b/References/hollowed.dll differ