fix(core): Converts help topic packet (#403)
- [X] Converts help topic packet
This commit is contained in:
parent
ca196e4729
commit
4bb2be4574
8 changed files with 104 additions and 18 deletions
15
Projects/UOContent.Tests/Tests/Engines/Help/HelpTopic.cs
Normal file
15
Projects/UOContent.Tests/Tests/Engines/Help/HelpTopic.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
namespace Server.Network
|
||||
{
|
||||
public class DisplayHelpTopic : Packet
|
||||
{
|
||||
public DisplayHelpTopic(int topicID, bool display) : base(0xBF)
|
||||
{
|
||||
EnsureCapacity(11);
|
||||
|
||||
Stream.Write((short)0x17);
|
||||
Stream.Write((byte)1);
|
||||
Stream.Write(topicID);
|
||||
Stream.Write(display);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue