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 ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする