Adds BufferReader and BufferWriter. Updates UOP handling. (#101)

This commit is contained in:
Kamron Batman 2020-04-12 21:33:24 -07:00 • committed by GitHub
parent 2c0d97cd36
commit 038c3be258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 2458 additions and 2185 deletions

View file

@ -3,18 +3,15 @@ using Server.Network;
namespace Server.Misc
{
public class Paperdoll
public static class Paperdoll
{
public static void Initialize()
{
EventSink.PaperdollRequest += EventSink_PaperdollRequest;
}
public static void EventSink_PaperdollRequest(PaperdollRequestEventArgs e)
public static void EventSink_PaperdollRequest(Mobile beholder, Mobile beheld)
{
Mobile beholder = e.Beholder;
Mobile beheld = e.Beheld;
beholder.Send(new DisplayPaperdoll(beheld, Titles.ComputeTitle(beholder, beheld),
beheld.AllowEquipFrom(beholder)));
@ -30,4 +27,4 @@ namespace Server.Misc
}
}
}
}
}