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); }
public static string GetNewKey(PropertyItem.ItemKey key, string propertyName) { return(GetPropertyKeys(propertyName + key)); }