private string OnAssetSelectedOwnerChanged(string input, int arg1, string[] arg2) =>
 ACEAssetCache.GetFromInfoIndex <BuildingIndexes, BuildingInfo>(input, arg1, arg2, m_assetFilterOwner, (result, info) =>
                                                                SafeObtain((ref VehicleCityDataRuleXml x) =>
 {
     x.BuildingName = info?.name ?? "";
     ApplyRuleCheck(x);
 }));
Exemple #2
0
 private string OnAssetSelectedSelfChanged(string input, int arg1, string[] arg2) =>
 ACEAssetCache.GetFromInfoIndex <CitizenIndexes, CitizenInfo>(input, arg1, arg2, m_assetFilterSelf, (result, info) =>
 {
     SafeObtain((ref CitizenCityDataRuleXml x) =>
     {
         x.AssetName = info?.name ?? "";
         ApplyRuleCheck(x);
     });
 });