public static Offset <BROADCAST> CreateBROADCAST(FlatBufferBuilder builder, StringOffset USER_NAMEOffset = default(StringOffset), int USER_INDEX = 0, StringOffset MESSAGEOffset = default(StringOffset)) { builder.StartObject(3); BROADCAST.AddMESSAGE(builder, MESSAGEOffset); BROADCAST.AddUSERINDEX(builder, USER_INDEX); BROADCAST.AddUSERNAME(builder, USER_NAMEOffset); return(BROADCAST.EndBROADCAST(builder)); }
public static BROADCAST GetRootAsBROADCAST(ByteBuffer _bb, BROADCAST obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }