More resharper cleanup

This commit is contained in:
Regalis11
2015-06-07 18:03:08 +03:00
parent f786cd3016
commit 34b79c85d6
62 changed files with 99 additions and 195 deletions

View File

@@ -40,11 +40,11 @@ namespace Subsurface.Networking
}
}
public GameClient(string name)
public GameClient(string newName)
{
this.name = name;
name = newName;
this.characterInfo = new CharacterInfo("Content/Characters/Human/human.xml", name);
characterInfo = new CharacterInfo("Content/Characters/Human/human.xml", name);
}
public bool ConnectToServer(string hostIP)

View File

@@ -60,7 +60,7 @@ namespace Subsurface.Networking
if (Game1.server == null) return;
}
this.eventType = type;
eventType = type;
foreach (NetworkEvent e in events)
{
@@ -68,7 +68,7 @@ namespace Subsurface.Networking
}
this.id = id;
this.isClientEvent = isClient;
isClientEvent = isClient;
this.data = data;