Skip to content

Commit c6859e7

Browse files
Micky5991dr1zzle
authored and
dr1zzle
committed
General code cleanup and resharper settings
1 parent 02cad38 commit c6859e7

File tree

11 files changed

+5
-11
lines changed

11 files changed

+5
-11
lines changed

JustAnotherVoiceChat.Server.Dummy/src/Client/DummyClient.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ namespace JustAnotherVoiceChat.Server.Dummy.Client
3434
{
3535
public class DummyClient : VoiceClient
3636
{
37-
private Vector3 _position;
38-
public override Vector3 Position => _position;
37+
public override Vector3 Position { get; } = new Vector3(0, 1, 0);
3938

4039
public DummyClient(IVoiceServer server, VoiceHandle handle) : base(server, server.VoiceWrapper3D, handle)
4140
{

JustAnotherVoiceChat.Server.Dummy/src/Interfaces/IDummyClientRepository.cs

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
using JustAnotherVoiceChat.Server.Dummy.Client;
2929
using JustAnotherVoiceChat.Server.Wrapper.Interfaces;
30-
using JustAnotherVoiceChat.Server.Wrapper.Structs;
3130

3231
namespace JustAnotherVoiceChat.Server.Dummy.Interfaces
3332
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=server/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

JustAnotherVoiceChat.Server.GTMP/src/Factories/GtmpVoice.cs

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
using GrandTheftMultiplayer.Server.API;
2929
using JustAnotherVoiceChat.Server.GTMP.Elements.Server;
3030
using JustAnotherVoiceChat.Server.GTMP.Interfaces;
31-
using JustAnotherVoiceChat.Server.GTMP.Repositories;
3231
using JustAnotherVoiceChat.Server.Wrapper.Interfaces;
3332

3433
namespace JustAnotherVoiceChat.Server.GTMP.Factories

JustAnotherVoiceChat.Server.GTMP/src/Factories/GtmpVoiceClientFactory.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
using JustAnotherVoiceChat.Server.Wrapper.Interfaces;
3232
using JustAnotherVoiceChat.Server.Wrapper.Structs;
3333

34-
namespace JustAnotherVoiceChat.Server.GTMP.Repositories
34+
namespace JustAnotherVoiceChat.Server.GTMP.Factories
3535
{
3636
public class GtmpVoiceClientFactory : IGtmpVoiceClientFactory
3737
{

JustAnotherVoiceChat.Server.GTMP/src/Interfaces/IGtmpVoiceClientFactory.cs

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
using GrandTheftMultiplayer.Server.Elements;
2929
using JustAnotherVoiceChat.Server.Wrapper.Interfaces;
30-
using JustAnotherVoiceChat.Server.Wrapper.Structs;
3130

3231
namespace JustAnotherVoiceChat.Server.GTMP.Interfaces
3332
{

JustAnotherVoiceChat.Server.Wrapper/src/Delegates.cs

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
* SOFTWARE.
2626
*/
2727

28-
using JustAnotherVoiceChat.Server.Wrapper.Enums;
2928
using JustAnotherVoiceChat.Server.Wrapper.Interfaces;
3029

3130
namespace JustAnotherVoiceChat.Server.Wrapper

JustAnotherVoiceChat.Server.Wrapper/src/Elements/Group/VoiceGroup.cs

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
using System;
2929
using System.Collections.Concurrent;
3030
using System.Collections.Generic;
31-
using JustAnotherVoiceChat.Server.Wrapper.Elements.Server;
3231
using JustAnotherVoiceChat.Server.Wrapper.Interfaces;
3332
using JustAnotherVoiceChat.Server.Wrapper.Structs;
3433

JustAnotherVoiceChat.Server.Wrapper/src/Elements/Wapper/VoiceWrapper.Wrapper.cs

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
using System.Runtime.InteropServices;
2929

30+
// ReSharper disable UnusedMember.Local
3031
namespace JustAnotherVoiceChat.Server.Wrapper.Elements.Wapper
3132
{
3233
internal partial class VoiceWrapper

JustAnotherVoiceChat.Server.Wrapper/src/Interfaces/IVoiceClient.cs

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
* SOFTWARE.
2626
*/
2727

28-
using System;
2928
using System.Collections.Generic;
3029
using JustAnotherVoiceChat.Server.Wrapper.Math;
3130
using JustAnotherVoiceChat.Server.Wrapper.Structs;

JustAnotherVoiceChat.Server.Wrapper/src/Interfaces/IVoiceWrapper.cs

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* SOFTWARE.
2626
*/
2727

28-
using System;
29-
3028
namespace JustAnotherVoiceChat.Server.Wrapper.Interfaces
3129
{
3230
public interface IVoiceWrapper

0 commit comments

Comments
 (0)