コード例 #1
0
 public static Offset <ReactiveMarkets.PlatformApi.SessionStatus> CreateSessionStatus(FlatBufferBuilder builder,
                                                                                      long source_ts            = 0,
                                                                                      StringOffset sourceOffset = default(StringOffset),
                                                                                      int code = 0,
                                                                                      StringOffset messageOffset = default(StringOffset))
 {
     builder.StartTable(4);
     SessionStatus.AddSourceTs(builder, source_ts);
     SessionStatus.AddMessage(builder, messageOffset);
     SessionStatus.AddCode(builder, code);
     SessionStatus.AddSource(builder, sourceOffset);
     return(SessionStatus.EndSessionStatus(builder));
 }