mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkServerTest: remove unused
This commit is contained in:
parent
6037e7ac1f
commit
b052e2bd91
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user