Пример #1
0
 public static Offset <SceneActivity> CreateSceneActivity(FlatBufferBuilder builder,
                                                          int typ   = 0,
                                                          int param = 0)
 {
     builder.StartObject(2);
     SceneActivity.AddParam(builder, param);
     SceneActivity.AddTyp(builder, typ);
     return(SceneActivity.EndSceneActivity(builder));
 }
Пример #2
0
 public static SceneActivity GetRootAsSceneActivity(ByteBuffer _bb, SceneActivity obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }