Example #1
0
 public static Offset <ActorEventData> CreateActorEventData(FlatBufferBuilder builder,
                                                            ActorEventType type = (ActorEventType)0,
                                                            int time            = 0)
 {
     builder.StartObject(2);
     ActorEventData.AddTime(builder, time);
     ActorEventData.AddType(builder, type);
     return(ActorEventData.EndActorEventData(builder));
 }
Example #2
0
 public ActorEventData GetEvents(ActorEventData obj, int j)
 {
     int o = __offset(6); return o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null;
 }
Example #3
0
 public static ActorEventData GetRootAsActorEventData(ByteBuffer _bb, ActorEventData obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
Example #4
0
 public ActorEventData GetEvents(ActorEventData obj, int j)
 {
     int o = __offset(6); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
Example #5
0
 public static ActorEventData GetRootAsActorEventData(ByteBuffer _bb, ActorEventData obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }