A* Pathfinding Project  4.1.2
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
APIUpgrader Class Reference

Helper for upgrading source code to use newer APIs. More...

Detailed Description

Helper for upgrading source code to use newer APIs.

Classes

class  UpgradeItem
 

Static Private Member Functions

static APIUpgrader ()
 
static void HandlelogMessageReceived (string condition, string stackTrace, LogType type)
 
static void OnEditorUpdate ()
 
static string TryUpgrade (List< UpgradeItem > items, System.IO.StreamReader stream)
 
static void TryUpgrade ()
 
static void TryUpgradeFile (List< UpgradeItem > items)
 

Private Attributes

const string project = "A* Pathfinding Project"
 
const string tag = "Astar"
 

Static Private Attributes

static readonly string dataFile = Application.temporaryCachePath + "/astar_api_upgrader.tmp"
 
static readonly Regex re = new Regex(@"(.*)\((\d+),(\d+)\): warning CS0618.*\[" + tag + @"Upgradable: '(.+)' -> '(.+)'\]", RegexOptions.CultureInvariant | RegexOptions.Multiline)
 
static readonly
System.Text.StringBuilder 
tempFileOutput = new System.Text.StringBuilder("[")
 
static List< UpgradeItemupgradeItems = new List<UpgradeItem>()
 

Constructor & Destructor Documentation

static APIUpgrader ( )
staticprivate

Member Function Documentation

static void HandlelogMessageReceived ( string  condition,
string  stackTrace,
LogType  type 
)
staticprivate
static void OnEditorUpdate ( )
staticprivate
static string TryUpgrade ( List< UpgradeItem items,
System.IO.StreamReader  stream 
)
staticprivate
static void TryUpgrade ( )
staticprivate
static void TryUpgradeFile ( List< UpgradeItem items)
staticprivate

Member Data Documentation

readonly string dataFile = Application.temporaryCachePath + "/astar_api_upgrader.tmp"
staticprivate
const string project = "A* Pathfinding Project"
private
readonly Regex re = new Regex(@"(.*)\((\d+),(\d+)\): warning CS0618.*\[" + tag + @"Upgradable: '(.+)' -> '(.+)'\]", RegexOptions.CultureInvariant | RegexOptions.Multiline)
staticprivate
const string tag = "Astar"
private
readonly System.Text.StringBuilder tempFileOutput = new System.Text.StringBuilder("[")
staticprivate
List<UpgradeItem> upgradeItems = new List<UpgradeItem>()
staticprivate

The documentation for this class was generated from the following file: