private void ChangeData(int ratio, PropertyItem.ItemKey itemKey, PlaneProperty.Property property)
    {
        var key   = KeysUtil.GetNewKey(itemKey, property.ToString());
        var value = DataMgr.Single.Get <int>(key);

        value *= ratio;
        DataMgr.Single.Set(key, value);
    }
Esempio n. 2
0
 public static string GetNewKey(PropertyItem.ItemKey key, string propertyName)
 {
     return(GetPropertyKeys(propertyName + key));
 }