-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
171 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
.../Scripts/Networking/ClientLibrary/Packet/Gameserver/ClientPackets/RequestUnEquipPacket.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
|
||
public class RequestUnEquipPacket : ClientPacket { | ||
public RequestUnEquipPacket(int slot) : base((byte)GameClientPacketType.RequestUnEquip) { | ||
WriteI(slot); | ||
BuildPacket(); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...pts/Networking/ClientLibrary/Packet/Gameserver/ClientPackets/RequestUnEquipPacket.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
.../Assets/Scripts/Networking/ClientLibrary/Packet/Gameserver/ClientPackets/UseItemPacket.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
|
||
public class UseItemPacket : ClientPacket { | ||
public UseItemPacket(int itemObjectId) : base((byte)GameClientPacketType.UseItem) { | ||
WriteI(itemObjectId); | ||
BuildPacket(); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ts/Scripts/Networking/ClientLibrary/Packet/Gameserver/ClientPackets/UseItemPacket.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.