Exemple #1
0
 public static Offset <NetQuantum> CreateNetQuantum(FlatBufferBuilder builder,
                                                    AllMessages message_type = AllMessages.NONE,
                                                    int messageOffset        = 0)
 {
     builder.StartObject(2);
     NetQuantum.AddMessage(builder, messageOffset);
     NetQuantum.AddMessageType(builder, message_type);
     return(NetQuantum.EndNetQuantum(builder));
 }
Exemple #2
0
 public static NetQuantum GetRootAsNetQuantum(ByteBuffer _bb, NetQuantum obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }