Adds BufferReader and BufferWriter. Updates UOP handling. (#101)
This commit is contained in:
parent
2c0d97cd36
commit
038c3be258
98 changed files with 2458 additions and 2185 deletions
|
|
@ -193,16 +193,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public virtual bool InstancedCorpse
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!Core.SE)
|
||||
return false;
|
||||
|
||||
return DateTime.UtcNow < TimeOfDeath + InstancedCorpseTime;
|
||||
}
|
||||
}
|
||||
public virtual bool InstancedCorpse => Core.SE && DateTime.UtcNow < TimeOfDeath + InstancedCorpseTime;
|
||||
|
||||
public override bool IsDecoContainer => false;
|
||||
|
||||
|
|
|
|||
|
|
@ -630,10 +630,8 @@ namespace Server.Items
|
|||
EventSink.Logout += EventSink_Logout;
|
||||
}
|
||||
|
||||
public static void EventSink_Logout(LogoutEventArgs e)
|
||||
public static void EventSink_Logout(Mobile from)
|
||||
{
|
||||
Mobile from = e.Mobile;
|
||||
|
||||
if (from == null || !m_Table.TryGetValue(from, out TeleportingInfo info))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue