예제 #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));
 }