Skip to content

Instantly share code, notes, and snippets.

@kou-yeung
Created February 17, 2017 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kou-yeung/1fc2d789e79ec2603f48082f4e8bbc6d to your computer and use it in GitHub Desktop.
Save kou-yeung/1fc2d789e79ec2603f48082f4e8bbc6d to your computer and use it in GitHub Desktop.
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