Пример #1
0
 public static Offset <MainCharacter> CreateMainCharacter(FlatBufferBuilder builder,
                                                          int fame       = 0,
                                                          int leadership = 0)
 {
     builder.StartObject(2);
     MainCharacter.AddLeadership(builder, leadership);
     MainCharacter.AddFame(builder, fame);
     return(MainCharacter.EndMainCharacter(builder));
 }