Adds more packets (#177)
This commit is contained in:
parent
c0805850c1
commit
5052bf9af3
15 changed files with 609 additions and 109 deletions
|
|
@ -12,8 +12,8 @@ namespace Server.Misc
|
|||
|
||||
public static void EventSink_PaperdollRequest(Mobile beholder, Mobile beheld)
|
||||
{
|
||||
beholder.Send(new DisplayPaperdoll(beheld, Titles.ComputeTitle(beholder, beheld),
|
||||
beheld.AllowEquipFrom(beholder)));
|
||||
beholder.Send(new DisplayPaperdoll(beheld.Serial, Titles.ComputeTitle(beholder, beheld),
|
||||
beheld.Warmode, beheld.AllowEquipFrom(beholder)));
|
||||
|
||||
if (ObjectPropertyList.Enabled)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -44,8 +44,9 @@ namespace Server.Misc
|
|||
footer = GetAccountDuration(beheld);
|
||||
|
||||
string body = beheld.Profile ?? "";
|
||||
Serial serial = beholder != beheld || !beheld.ProfileLocked ? beheld.Serial : Serial.Zero;
|
||||
|
||||
beholder.Send(new DisplayProfile(beholder != beheld || !beheld.ProfileLocked, beheld, header, body, footer));
|
||||
beholder.Send(new DisplayProfile(serial, header, body, footer));
|
||||
}
|
||||
|
||||
private static string GetAccountDuration(Mobile m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue