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; } }
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; } }
public BaseService(CustomSerial serial) : base(serial) { }
public BaseCore(CustomSerial serial) : base(serial) { }
public BaseModule(CustomSerial serial) : base(serial) { }