コード例 #1
0
 internal Mapping(FactorioIdRange <TKey> source)
 {
     this.source = source;
     data        = new TValue[source.count];
     offset      = source.start;
 }
コード例 #2
0
 public Mapping <T, TOther, TValue> CreateMapping <TOther, TValue>(FactorioIdRange <TOther> other) where TOther : FactorioObject
 => new Mapping <T, TOther, TValue>(this, other);