예제 #1
0
 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"));
 }
예제 #2
0
 protected override void WriteMessageType(Beetle.NetPackage.IDataWriter writer, Beetle.NetPackage.IMessage message)
 {
     writer.WriteUTF(message.GetType().Name);
 }