Example #1
0
def _SupportNeonOcean (_connection: int = None) -> None:
	try:
		Generic.ShowOpenBrowserDialog(Websites.GetNOSupportURL())
	except:
		output = commands.CheatOutput(_connection)
		output("Failed to show the support site with the open browser dialog.")

		Debug.Log("Failed to show the support site with the open browser dialog.", This.Mod.Namespace, Debug.LogLevels.Exception, group = This.Mod.Namespace, owner = __name__)
Example #2
0
def _VisitModPage (_connection: int = None) -> None:
	try:
		Generic.ShowOpenBrowserDialog(Websites.GetNOMainModURL(This.Mod))
	except:
		output = commands.CheatOutput(_connection)
		output("Failed to show the mod page with the open browser dialog.")

		Debug.Log("Failed to show the mod page with the open browser dialog.", This.Mod.Namespace, Debug.LogLevels.Exception, group = This.Mod.Namespace, owner = __name__)
Example #3
0
	def _GetDescriptionDocumentationURL (self, setting: UISettingsShared.SettingStandardWrapper) -> typing.Optional[str]:
		return Websites.GetNODocumentationModSettingURL(setting.Setting, This.Mod)