Exemplo n.º 1
0
 public static Offset <Init_Collection_IM> CreateInit_Collection_IM(FlatBufferBuilder builder,
                                                                    int id = 0,
                                                                    VectorOffset itemDataOffset       = default(VectorOffset),
                                                                    VectorOffset MonsterDataOffset    = default(VectorOffset),
                                                                    Offset <Login_my_DB> myDataOffset = default(Offset <Login_my_DB>),
                                                                    int complete1 = 0,
                                                                    int complete2 = 0,
                                                                    int complete3 = 0,
                                                                    int complete4 = 0,
                                                                    int complete5 = 0)
 {
     builder.StartObject(9);
     Init_Collection_IM.AddComplete5(builder, complete5);
     Init_Collection_IM.AddComplete4(builder, complete4);
     Init_Collection_IM.AddComplete3(builder, complete3);
     Init_Collection_IM.AddComplete2(builder, complete2);
     Init_Collection_IM.AddComplete1(builder, complete1);
     Init_Collection_IM.AddMyData(builder, myDataOffset);
     Init_Collection_IM.AddMonsterData(builder, MonsterDataOffset);
     Init_Collection_IM.AddItemData(builder, itemDataOffset);
     Init_Collection_IM.AddId(builder, id);
     return(Init_Collection_IM.EndInit_Collection_IM(builder));
 }
Exemplo n.º 2
0
 public static Init_Collection_IM GetRootAsInit_Collection_IM(ByteBuffer _bb, Init_Collection_IM obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }