public void Read(byte[] bytes) { using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)) { Interaction = io.ReadByte(); ObjectLocation = io.ReadByte(); Priority = (VMPushPriority)io.ReadByte(); Flags = io.ReadByte(); IconLocation = io.ReadByte(); } }
public void Read(byte[] bytes) { using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)) { Interaction = io.ReadByte(); ObjectLocation = io.ReadByte(); Priority = (VMPushPriority)io.ReadByte(); Flags = io.ReadByte(); IconLocation = io.ReadByte(); } }