add comment

This commit is contained in:
vis2k 2021-03-15 19:26:18 +08:00
parent 0c39279239
commit 0713db8338

View File

@ -29,6 +29,13 @@ public enum Version
Current = 1
}
// channels are const ints instead of an enum so people can add their own
// channels (can't extend an enum otherwise).
//
// note that Mirror is slowly moving towards quake style networking which
// will only require reliable for handshake, and unreliable for the rest.
// so eventually we can change this to an Enum and transports shouldn't
// add custom channels anymore.
public static class Channels
{
public const int DefaultReliable = 0;