예제 #1
0
        public override void ReadElement(ManifestData Data)
        {
            this.Mann = Data.getBoolean("mann");
            this.Hintergrund = Data.getString("hintergrund");
            this.Konfession = Data.getString("konfession");
            this.Geburtsort = Data.getString("geburtsort");
            this.Vergangenheiten = Data.getStrings("vergangenheiten");

            this.Augenfarbe = Data.getColor("augenfarbe");
            this.Hautfarbe = Data.getColor("hautfarbe");
            this.Haarfarbe = Data.getColor("haarfarbe");

            this.Portrait = Data.getString("portrait");

            this.Names = Data.getStrings("namen");
            this.Geburtstag = Data.getDateTime("geburtstag");

            this.Radius = Data.getFloat("radius");
            this.Hohe = Data.getFloat("hohe");

            this.Alter = Data.getInt("alter");

            Data.NextElement();
        }
예제 #2
0
 public override void Read(ManifestData data, int ID)
 {
     base.Read(data, ID);
     Color = data.getColor("color");
     Relativ = data.getBoolean("relativ");
 }