예제 #1
0
 public static Offset <GameSvrConfig> CreateGameSvrConfig(FlatBufferBuilder builder,
                                                          StringOffset hostOffset = default(StringOffset),
                                                          StringOffset portOffset = default(StringOffset),
                                                          StringOffset dbOffset   = default(StringOffset))
 {
     builder.StartObject(3);
     GameSvrConfig.AddDb(builder, dbOffset);
     GameSvrConfig.AddPort(builder, portOffset);
     GameSvrConfig.AddHost(builder, hostOffset);
     return(GameSvrConfig.EndGameSvrConfig(builder));
 }
예제 #2
0
 public static GameSvrConfig GetRootAsGameSvrConfig(ByteBuffer _bb, GameSvrConfig obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }