Fixes packet length & PropertyList (#82)

This commit is contained in:
Kamron Batman 2020-01-21 21:00:56 -08:00 committed by GitHub
parent 1f1ceade8c
commit 27e8d823bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 251 additions and 225 deletions

View file

@ -26,8 +26,8 @@ namespace Server
{
public interface IPropertyListObject : IEntity
{
ObjectPropertyList PropertyList{ get; }
OPLInfo OPLPacket{ get; }
ObjectPropertyList PropertyList { get; }
OPLInfo OPLPacket { get; }
void GetProperties(ObjectPropertyList list);
}
@ -189,10 +189,10 @@ namespace Server
m_Stream.Write( (int) list.Hash );
}*/
public OPLInfo(ObjectPropertyList list) : base(0xDC, 9)
public OPLInfo(Serial serial, int hash) : base(0xDC, 9)
{
m_Stream.Write(list.Entity.Serial);
m_Stream.Write(list.Hash);
m_Stream.Write(serial);
m_Stream.Write(hash);
}
}
}