Example #1
0
 public static Offset <ActorData> CreateActorData(FlatBufferBuilder builder,
                                                  int id = 0,
                                                  VectorOffset events    = default(VectorOffset),
                                                  VectorOffset variables = default(VectorOffset))
 {
     builder.StartObject(3);
     ActorData.AddVariables(builder, variables);
     ActorData.AddEvents(builder, events);
     ActorData.AddId(builder, id);
     return(ActorData.EndActorData(builder));
 }
Example #2
0
 public static ActorData GetRootAsActorData(ByteBuffer _bb, ActorData obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
 public ActorData GetActors(ActorData obj, int j)
 {
     int o = __offset(8); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
 public ActorData GetActors(ActorData obj, int j)
 {
     int o = __offset(8); return o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null;
 }
Example #5
0
 public static ActorData GetRootAsActorData(ByteBuffer _bb, ActorData obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }