コード例 #1
0
 public static Offset <Notify_EnterSuccess> CreateNotify_EnterSuccess(FlatBufferBuilder builder,
                                                                      Offset <Hero> heroOffset        = default(Offset <Hero>),
                                                                      Offset <MapData> map_dataOffset = default(Offset <MapData>))
 {
     builder.StartObject(2);
     Notify_EnterSuccess.AddMapData(builder, map_dataOffset);
     Notify_EnterSuccess.AddHero(builder, heroOffset);
     return(Notify_EnterSuccess.EndNotify_EnterSuccess(builder));
 }
コード例 #2
0
 public static Notify_EnterSuccess GetRootAsNotify_EnterSuccess(ByteBuffer _bb, Notify_EnterSuccess obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }