public OPLInfo( ObjectPropertyListPacket list ) : base(0xDC, 9) { m_Stream.Write( (int) list.Entity.Serial ); m_Stream.Write( (int) list.Hash ); }
public void ClearProperties() { if ( m_PropertyList != null ) { m_PropertyList.Release(); m_PropertyList = null; } if ( m_OplPacket != null ) { m_OplPacket.Release(); m_OplPacket = null; } }
public void InvalidateProperties() { if ( !ObjectPropertyListPacket.Enabled ) return; if ( m_Map != null && m_Map != Map.Internal && !World.Instance.Loading ) { ObjectPropertyListPacket oldList = m_PropertyList; if ( m_PropertyList != null ) { m_PropertyList.Release(); m_PropertyList = null; } ObjectPropertyListPacket newList = PropertyList; if ( oldList == null || oldList.Hash != newList.Hash ) { if ( m_OplPacket != null ) { m_OplPacket.Release(); m_OplPacket = null; } Delta( MobileDelta.Properties ); } } else { ClearProperties(); } }
public OPLInfo(ObjectPropertyListPacket list) : base(0xDC, 9) { m_Stream.Write((int)list.Entity.Serial); m_Stream.Write((int)list.Hash); }