Skip to content

Commit f40bf03

Browse files
committed
chore: initial editor config
1 parent 1f9212a commit f40bf03

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

DiscordRPC/.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[*.{cs,vb}]
2+
dotnet_diagnostic.IDE0130.severity = none
3+
tab_width = 4
4+
indent_style = space
5+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
6+
[*.cs]
7+
csharp_space_around_binary_operators = before_and_after

DiscordRPC/Entities/RichPresence.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,6 @@ public string DetailsUrl
126126
[JsonProperty("status_display_type", NullValueHandling = NullValueHandling.Ignore)]
127127
public StatusDisplayType StatusDisplay { get; set; }
128128

129-
130-
/// <summary>
131-
/// Marks the <see cref="Secrets.MatchSecret"/> as a game session with a specific beginning and end. It was going to be used as a form of notification, but was replaced with the join feature. It may potentially have use in the future, but it currently has no use.
132-
/// <para>
133-
/// "TLDR it marks the matchSecret field as an instance, that is to say a context in game that’s not like a lobby state/not in game state. It was gonna he used for notify me, but we scrapped that for ask to join. We may put it to another use in the future. For now, don’t worry about it" - Mason (Discord API Server 14 / 03 / 2018)
134-
/// </para>
135-
/// </summary>
136-
[Obsolete("This was going to be used, but was replaced by JoinSecret instead", true)]
137-
private bool Instance;
138-
139129
#region Has Checks
140130
/// <summary>
141131
/// Does the Rich Presence have valid timestamps?
@@ -175,7 +165,6 @@ public bool HasSecrets()
175165

176166
#endregion
177167

178-
179168
/// <summary>
180169
/// Attempts to call <see cref="StringTools.GetNullOrString(string)"/> on the string and return the result, if its within a valid length.
181170
/// </summary>

0 commit comments

Comments
 (0)