Create a gist now

Instantly share code, notes, and snippets.

@kou-yeung /Command.cs Secret
Created Feb 17, 2017

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