mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Remove unused inneficient method (#56)
This commit is contained in:
parent
fdb0799332
commit
10e413e640
@ -67,17 +67,6 @@ public class NetworkMessage
|
|||||||
public NetworkConnection conn;
|
public NetworkConnection conn;
|
||||||
public NetworkReader reader;
|
public NetworkReader reader;
|
||||||
|
|
||||||
public static string Dump(byte[] payload, int sz)
|
|
||||||
{
|
|
||||||
string outStr = "[";
|
|
||||||
for (int i = 0; i < sz; i++)
|
|
||||||
{
|
|
||||||
outStr += (payload[i] + " ");
|
|
||||||
}
|
|
||||||
outStr += "]";
|
|
||||||
return outStr;
|
|
||||||
}
|
|
||||||
|
|
||||||
public TMsg ReadMessage<TMsg>() where TMsg : MessageBase, new()
|
public TMsg ReadMessage<TMsg>() where TMsg : MessageBase, new()
|
||||||
{
|
{
|
||||||
var msg = new TMsg();
|
var msg = new TMsg();
|
||||||
|
Loading…
Reference in New Issue
Block a user