feat:完善游戏房、个播房红包展示

feat:完善红包冲突场景
This commit is contained in:
Max
2023-10-29 23:14:20 +08:00
parent 3199114ff6
commit f7889ace18
8 changed files with 111 additions and 14 deletions

View File

@@ -9,6 +9,7 @@ import com.yizhuan.xchat_android_core.support.room.lifecycle.RoomLifecycleRegist
/**
* Created by Max on 2023/10/26 11:50
* Desc:一个房间
* @param roomId roomUid
**/
abstract class RoomContext(val roomId: Long) : ILog {
@@ -81,7 +82,7 @@ abstract class RoomContext(val roomId: Long) : ILog {
/**
* 查找组件
*/
fun <T : RoomAbility> findAbility(key: String): T? {
fun <T : RoomAbility> findAbility(key: String?): T? {
return abilityList[key] as? T
}