public override void Read(NetworkReader reader) { TargetId = reader.ReadInt32(); DispatchId = new DispatchIdentifier(); DispatchId.Read(reader); DispatchType = (DispatchType)reader.ReadByte(); int len = reader.ReadInt32(); Parameters = new JsValue[len]; for (int i = 0; i < len; i++) { JsValue value = new JsValue(); value.Read(reader); Parameters[i] = value; } }
public override void Read(NetworkReader reader) { Value = new JsValue(); IsException = reader.ReadBoolean(); Value.Read(reader); }
public override void Read(NetworkReader reader) { Name = reader.ReadString(); ScopeId = reader.ReadInt32(); int len = reader.ReadInt32(); Parameters = new JsValue[len]; for (int i = 0; i < len; i++) { JsValue value = new JsValue(); value.Read(reader); Parameters[i] = value; } }