-- 退出時コールバックの登録 vci.vc.room.OnPlayerLeft( function (leftEvent) -- {"PlayerId": string} local id = leftEvent["PlayerId"] local name = idToNameMap[id] if name ~= nil then print(name.." has left.") end idToNameMap[id] = nil end )