Beispiel #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;
            }
        }
Beispiel #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;
            }
        }
Beispiel #3
0
 public BaseService(CustomSerial serial)
     : base(serial)
 {
 }
Beispiel #4
0
 public BaseCore(CustomSerial serial)
     : base(serial)
 {
 }
Beispiel #5
0
 public BaseModule(CustomSerial serial)
     : base(serial)
 {
 }