forked from stride3d/stride
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStrideGameStudio.cs
More file actions
47 lines (35 loc) · 2.01 KB
/
Copy pathStrideGameStudio.cs
File metadata and controls
47 lines (35 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
#pragma warning disable 436 // The type 'type' in 'assembly' conflicts with the imported type 'type2' in 'assembly' (due to StrideVersion being duplicated)
using System;
using System.Runtime.InteropServices;
using Stride.Core.Annotations;
using Stride.Graphics;
namespace Stride.GameStudio.Helpers
{
public static class StrideGameStudio
{
[NotNull]
public static string CopyrightText1 => "© 2018 Stride contributors";
[NotNull]
public static string CopyrightText2 => "© 2011-2018 Silicon Studio Corp.";
[NotNull]
public static string EditorName => $"Stride Game Studio {EditorVersion} ({RuntimeInformation.FrameworkDescription})";
// EditorName plus the active graphics API in the environment group; for the main window title.
[NotNull]
public static string EditorNameWithGraphicsApi => $"Stride Game Studio {EditorVersion} ({RuntimeInformation.FrameworkDescription}, {GraphicsDevice.Platform})";
[NotNull]
public static string EditorVersion => StrideVersion.NuGetVersion;
[NotNull]
public static string EditorVersionWithMetadata => StrideVersion.NuGetVersion + StrideVersion.BuildMetadata;
public static string EditorVersionMajor => new Version(StrideVersion.PublicVersion).ToString(2);
[NotNull]
public static string AnswersUrl => "https://gamedev.stackexchange.com/tags/stride"; // #706
[NotNull]
public static string DocumentationUrl => $"https://doc.stride3d.net/{EditorVersionMajor}/";
[NotNull]
public static string ForumsUrl => "https://github.com/stride3d/stride/discussions";
[NotNull]
public static string ReportIssueUrl => "https://github.com/stride3d/stride/issues/";
}
}