-
-
Save kou-yeung/1fc2d789e79ec2603f48082f4e8bbc6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
enum ProtoType | |
{ | |
Message, | |
} | |
public class Command | |
{ | |
public ProtoType type { get; private set; } // プロトコール種類 | |
public byte[] bytes { get; private set; } // データ | |
public Command(ProtoType type, byte[] bytes) | |
{ | |
this.type = type; | |
this.bytes = bytes; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment