Example #1
0
        protected override void OnLoaded(BinaryReader r)
        {
            base.OnLoaded(r);

            string name = r.ReadString();

            MissionDescription = ReflectionHelper.CreateInstance <MissionDescription>(name);
            MissionDescription.Deserialize(r);
        }
Example #2
0
        protected override void OnLoaded(BinaryReader r)
        {
            base.OnLoaded(r);

            string name = r.ReadString();
            MissionDescription = ReflectionHelper.CreateInstance<MissionDescription>(name);
            MissionDescription.Deserialize(r);
        }