コード例 #1
0
 public static Offset <NodeConnectResultMessage> CreateNodeConnectResultMessage(FlatBufferBuilder builder,
                                                                                NodeConnectResult success = NodeConnectResult.Success,
                                                                                sbyte errorNode           = 0)
 {
     builder.StartObject(2);
     NodeConnectResultMessage.AddErrorNode(builder, errorNode);
     NodeConnectResultMessage.AddSuccess(builder, success);
     return(NodeConnectResultMessage.EndNodeConnectResultMessage(builder));
 }
コード例 #2
0
 public static NodeConnectResultMessage GetRootAsNodeConnectResultMessage(ByteBuffer _bb, NodeConnectResultMessage obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }