コード例 #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__)
コード例 #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__)
コード例 #3
0
ファイル: Dialogs.py プロジェクト: NeonOcean/S4.Cycle
	def _GetDescriptionDocumentationURL (self, setting: UISettingsShared.SettingStandardWrapper) -> typing.Optional[str]:
		return Websites.GetNODocumentationModSettingURL(setting.Setting, This.Mod)