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(); }
public void ReadFrom(IDataInputStream stream) { repeatStartTime = stream.ReadSingle(); int length = stream.ReadInt32(); commands = new AnimCommand[length]; for (int j = 0; j < length; ++j) { commands[j] = InputStreamHelper.ReadStorySceneObjectCommand(stream); } }