public virtual void Write(NetBuffer om) { om.Position = 0; om.Write(Id); om.WriteAllProperties(this); }