public static Offset <ForfeitMatch> CreateForfeitMatch(FlatBufferBuilder builder, short opcode = 3) { builder.StartTable(1); ForfeitMatch.AddOpcode(builder, opcode); return(ForfeitMatch.EndForfeitMatch(builder)); }
public static byte[] MakeForfeitBuffer() { var builder = new MessageBuilder(); ForfeitMatch.StartForfeitMatch(builder); ForfeitMatch.AddOpcode(builder, new ForfeitMatch().Opcode); var offset = ForfeitMatch.EndForfeitMatch(builder); builder.Finish(offset.Value); return(builder.SizedByteArray()); }
public static ForfeitMatch GetRootAsForfeitMatch(ByteBuffer _bb, ForfeitMatch obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }