I think he means he wants to assign each room (each struct) an ID number. That can certainly be stored within each struct as a member of the struct. However, I don't know why he'd need it at all given ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する