示例#1
0
 public void ReadFrom(IDataInputStream stream)
 {
     dm     = stream.ReadBoolean();
     id     = stream.ReadString();
     name   = stream.ReadString();
     avatar = InputStreamHelper.ReadGuid(stream);
 }
示例#2
0
		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();
		}
示例#3
0
            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);
                }
            }