public void Save(Beetle.NetPackage.IDataWriter writer) { writer.WriteUTF(Name); writer.WriteUTF(EMail); writer.WriteUTF(City); writer.WriteUTF(Country); writer.WriteUTF(RegTime.ToString("yyyy-MM-dd HH:mm:ss")); }
protected override void WriteMessageType(Beetle.NetPackage.IDataWriter writer, Beetle.NetPackage.IMessage message) { writer.WriteUTF(message.GetType().Name); }