Exemple #1
0
 /// <summary>
 /// Returns the value of an addon property as a string.
 /// </summary>
 /// <param name="info">the property that the module needs to access.</param>
 /// <returns></returns>
 public string GetAddonInfo(AddonInfo info)
 {
     return(Instance.CallFunction(
                new PythonFunction("getAddonInfo"),
                new List <object> {
         info.GetString()
     }
                ));
 }
Exemple #2
0
 /// <summary>
 /// Returns the value of an addon property as a string.
 /// </summary>
 /// <param name="info">the property that the module needs to access.</param>
 /// <returns></returns>
 public string GetAddonInfo(AddonInfo info)
 {
     return(Instance.CallFunction(_getAddonInfo, info.GetString()));
 }