mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-11-03 03:00:43 +08:00
🎨 调整用户信息背景图位置
This commit is contained in:
@@ -29,10 +29,6 @@ class CPlayerPool:
|
|||||||
self._running = True
|
self._running = True
|
||||||
self._cleanupThread.start()
|
self._cleanupThread.start()
|
||||||
|
|
||||||
logger.debug(
|
|
||||||
f"用户池初始化完成,超时时间: {timeoutSeconds}秒, 清理间隔: {cleanupInterval}秒"
|
|
||||||
)
|
|
||||||
|
|
||||||
def createUser(self, uid: str, userObj: Any) -> bool:
|
def createUser(self, uid: str, userObj: Any) -> bool:
|
||||||
"""
|
"""
|
||||||
创建并管理用户对象
|
创建并管理用户对象
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ class CDarwFarm:
|
|||||||
background = BuildImage(
|
background = BuildImage(
|
||||||
background=config.g_sResourcePath / "background/userInfo.png"
|
background=config.g_sResourcePath / "background/userInfo.png"
|
||||||
)
|
)
|
||||||
await img.paste(background, (150, 30))
|
await img.paste(background, (100, 30))
|
||||||
|
|
||||||
# 头像
|
# 头像
|
||||||
image = await PlatformUtils.get_user_avatar(uid, "qq")
|
image = await PlatformUtils.get_user_avatar(uid, "qq")
|
||||||
|
|||||||
Reference in New Issue
Block a user