public bool Read(Protocol.Format format, int key) { switch (key) { case 1: return(format.ReadValue(ref __no__)); case 2: return(format.ReadValue(ref type)); default: return(format.Skip()); } }