示例#1
0
 public static Offset <REQ_JOIN> CreateREQ_JOIN(FlatBufferBuilder builder,
                                                StringOffset USER_NAMEOffset = default(StringOffset),
                                                StringOffset HASHOffset      = default(StringOffset),
                                                int USER_INDEX = 0)
 {
     builder.StartObject(3);
     REQ_JOIN.AddUSERINDEX(builder, USER_INDEX);
     REQ_JOIN.AddHASH(builder, HASHOffset);
     REQ_JOIN.AddUSERNAME(builder, USER_NAMEOffset);
     return(REQ_JOIN.EndREQ_JOIN(builder));
 }
示例#2
0
 public static REQ_JOIN GetRootAsREQ_JOIN(ByteBuffer _bb, REQ_JOIN obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }