public void ReadFrom(IDataInputStream stream) { dm = stream.ReadBoolean(); id = stream.ReadString(); name = stream.ReadString(); avatar = InputStreamHelper.ReadGuid(stream); }
public override void ReadFrom(IDataInputStream stream) { int innerType = stream.ReadInt32(); if (innerType == 0) { innerMessage = null; } else { innerMessage = New(innerType); innerMessage.ReadFrom(stream); } guid = InputStreamHelper.ReadGuid(stream); resp = stream.ReadBoolean(); }