Fully implement "private notes"

This commit is contained in:
SilicaAndPina 2020-12-24 23:55:13 +13:00
parent 08336c07af
commit 75ca6a2a5c
2 changed files with 2 additions and 1 deletions

View file

@ -245,7 +245,7 @@ namespace HISP.Game
{
string message = "";
message += Messages.FormatPrivateNotes(user.PrivateNotes);
message += Messages.ExitThisPlace;
message += Messages.BackToMap;
message += Messages.MetaTerminator;
return message;
}

View file

@ -101,6 +101,7 @@ namespace HISP.Server
if(dynamicInput.Length >= 2)
{
sender.LoggedinUser.PrivateNotes = dynamicInput[1];
UpdateStats(sender);
byte[] chatPacket = PacketBuilder.CreateChat(Messages.PrivateNotesSavedMessage, PacketBuilder.CHAT_BOTTOM_RIGHT);
sender.SendPacket(chatPacket);
return;