Multiple soliton and M-lump waves to a generalized B-type Kadomtsev–Petviashvili equation | Synapse