Example #1
0
        public SaveData(CustomSerial serial)
        {
            this._Serial = serial;

            Type dataType = this.GetType();

            this._TypeID = World._DataTypes.IndexOf(dataType);

            if (this._TypeID == -1)
            {
                World._DataTypes.Add(dataType);
                this._TypeID = World._DataTypes.Count - 1;
            }
        }
Example #2
0
        public SaveData()
        {
            this._Serial = CustomSerial.NewCustom;

            World.AddData(this);

            Type dataType = this.GetType();

            this._TypeID = World._DataTypes.IndexOf(dataType);

            if (this._TypeID == -1)
            {
                World._DataTypes.Add(dataType);
                this._TypeID = World._DataTypes.Count - 1;
            }
        }
Example #3
0
 public BaseService(CustomSerial serial)
     : base(serial)
 {
 }
Example #4
0
 public BaseCore(CustomSerial serial)
     : base(serial)
 {
 }
Example #5
0
 public BaseModule(CustomSerial serial)
     : base(serial)
 {
 }