예제 #1
0
 public static Offset <MyGame.MonsterExtra> CreateMonsterExtra(FlatBufferBuilder builder,
                                                               double d0 = Double.NaN,
                                                               double d1 = Double.NaN,
                                                               double d2 = Double.PositiveInfinity,
                                                               double d3 = Double.NegativeInfinity,
                                                               float f0  = Single.NaN,
                                                               float f1  = Single.NaN,
                                                               float f2  = Single.PositiveInfinity,
                                                               float f3  = Single.NegativeInfinity,
                                                               VectorOffset dvecOffset = default(VectorOffset),
                                                               VectorOffset fvecOffset = default(VectorOffset))
 {
     builder.StartTable(11);
     MonsterExtra.AddD3(builder, d3);
     MonsterExtra.AddD2(builder, d2);
     MonsterExtra.AddD1(builder, d1);
     MonsterExtra.AddD0(builder, d0);
     MonsterExtra.AddFvec(builder, fvecOffset);
     MonsterExtra.AddDvec(builder, dvecOffset);
     MonsterExtra.AddF3(builder, f3);
     MonsterExtra.AddF2(builder, f2);
     MonsterExtra.AddF1(builder, f1);
     MonsterExtra.AddF0(builder, f0);
     return(MonsterExtra.EndMonsterExtra(builder));
 }