NetworkServerTest: remove unused

This commit is contained in:
vis2k 2021-06-16 11:40:05 +08:00
parent 6037e7ac1f
commit b052e2bd91

View File

@ -7,42 +7,7 @@
namespace Mirror.Tests
{
struct TestMessage1 : NetworkMessage
{
public int IntValue;
public string StringValue;
public double DoubleValue;
public TestMessage1(int i, string s, double d)
{
IntValue = i;
StringValue = s;
DoubleValue = d;
}
public void Deserialize(NetworkReader reader)
{
IntValue = reader.ReadInt();
StringValue = reader.ReadString();
DoubleValue = reader.ReadDouble();
}
public void Serialize(NetworkWriter writer)
{
writer.WriteInt(IntValue);
writer.WriteString(StringValue);
writer.WriteDouble(DoubleValue);
}
}
struct TestMessage2 : NetworkMessage
{
#pragma warning disable CS0649 // Field is never assigned to
public int IntValue;
public string StringValue;
public double DoubleValue;
#pragma warning restore CS0649 // Field is never assigned to
}
struct TestMessage1 : NetworkMessage {}
public class CommandTestNetworkBehaviour : NetworkBehaviour
{