Patch for 0.24.2

Added the missing parameter (resourceFlowMode) to GetConnectedResources.
Also added VS files to GitIgnore for my own sanity