Mercurial > hg > Database > Christie-sharp
view datagear/RemoteMessage.cs @ 71:1169915705ab default tip
fix TopologyNode connect
author | KaitoMaeshiro <aosskaito@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 06 Feb 2022 16:47:41 +0900 |
parents | e75e143b92e7 |
children |
line wrap: on
line source
using System.Net.Sockets; using MessagePack; namespace Christie_net.datagear { [MessagePackObject] public class RemoteMessage { [Key("type")] public int type; // コマンドタイプ [Key("fromDmgName")] public string fromDmgName; // 送り元のDgmName REPLYの時に使用 [Key("key")] public string key; [Key("clazz")] public string clazz; public RemoteMessage(){} // for messagePack public RemoteMessage(int type, string fromDmgName, string key, string clazz) { this.type = type; this.fromDmgName = fromDmgName; this.key = key; this.clazz = clazz; } } }