예제 #1
0
 public static Offset <Reply_CreateHeroSuccess> CreateReply_CreateHeroSuccess(FlatBufferBuilder builder,
                                                                              Offset <Hero> heroOffset = default(Offset <Hero>))
 {
     builder.StartObject(1);
     Reply_CreateHeroSuccess.AddHero(builder, heroOffset);
     return(Reply_CreateHeroSuccess.EndReply_CreateHeroSuccess(builder));
 }
예제 #2
0
 public static Reply_CreateHeroSuccess GetRootAsReply_CreateHeroSuccess(ByteBuffer _bb, Reply_CreateHeroSuccess obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }