MCPcopy Create free account

hub / github.com/cy1159178778/wechat_bot / functions

Functions892 in github.com/cy1159178778/wechat_bot

↓ 3 callersMethodevaluate
(self, board, turn)
wechat_bot/src/plugins/boardgame/gomoku_ai2.py:212
↓ 3 callersFunctionfile_router
( query_name: Optional[str] = None, base_path: Optional[Path] = None, prefix_omit: str = "", )
wechat_bot/src/plugins/picstatus/templates/pw_render.py:100
↓ 3 callersMethodfind
(self, meme_name: str)
wechat_bot/src/plugins/memes/manager.py:49
↓ 3 callersMethodfrom_bool
当前行动方判负
wechat_bot/src/plugins/cchess/board.py:27
↓ 3 callersMethodfrom_str
(cls, s: str)
wechat_bot/src/plugins/boardgame/game.py:124
↓ 3 callersFunctionfunctional_collector
(cls: Type[Collector], name: Optional[str] = None)
wechat_bot/src/plugins/picstatus/collectors/__init__.py:116
↓ 3 callersFunctionget_browser
(**kwargs)
wechat_bot/src/plugins/daily_check/browser.py:33
↓ 3 callersMethodget_card
mode 1:普通抽 2:四星保底 3:五星保底
wechat_bot/src/plugins/draw_card/handles/genshin_handle.py:53
↓ 3 callersFunctionget_icon
(item: str)
wechat_bot/src/plugins/remake/drawer.py:24
↓ 3 callersMethodget_piece
获取棋子
wechat_bot/src/plugins/cchess/board.py:147
↓ 3 callersMethodget_piece_at
获取指定位置的棋子
wechat_bot/src/plugins/cchess/board.py:120
↓ 3 callersMethodget_report_image
获取数据
wechat_bot/src/plugins/daily_report/data_source.py:64
↓ 3 callersFunctionget_url_text
(url)
wechat_bot/common.py:307
↓ 3 callersFunctionhtml_to_pic
html转图片 Args: html (str): html文本 wait (int, optional): 等待时间. Defaults to 0. template_path (str, optional): 模板路径 如 "file:/
wechat_bot/browser.py:84
↓ 3 callersMethodis_game_over
(self)
wechat_bot/src/plugins/cchess/board.py:385
↓ 3 callersMethodlegal_to_pos
获取某个位置的棋子所有可能走的位置
wechat_bot/src/plugins/cchess/board.py:155
↓ 3 callersMethodline
说明: 画线 参数: :param xy: 坐标 :param fill: 填充 :param width: 线宽
wechat_bot/image_utils.py:736
↓ 3 callersMethodload_font
说明: 加载字体 参数: :param font: 字体名称 :param font_size: 字体大小
wechat_bot/image_utils.py:265
↓ 3 callersFunctionload_tarot_data
()
wechat_bot/src/plugins/batarot/utils.py:9
↓ 3 callersFunctionload_template
(name: str)
wechat_bot/src/plugins/picstatus/templates/__init__.py:32
↓ 3 callersMethodneighbors
()
wechat_bot/src/plugins/minesweeper/data_source.py:212
↓ 3 callersMethodpush
移动并返回结果
wechat_bot/src/plugins/cchess/board.py:393
↓ 3 callersFunctionrandom_int
()
wechat_bot/src/plugins/draw_card/handles/Paimon_Gacha/data_source.py:8
↓ 3 callersMethodreverse_color
(self, color)
wechat_bot/src/plugins/boardgame/othello_ai.py:63
↓ 3 callersFunctionrouter
(pattern: PatternType, priority: int = 0)
wechat_bot/src/plugins/picstatus/templates/pw_render.py:74
↓ 3 callersFunctionset_timeout
(room_id, timeout=900)
wechat_bot/src/plugins/chess/__init__.py:31
↓ 3 callersMethodshow_mines
(self)
wechat_bot/src/plugins/minesweeper/data_source.py:203
↓ 3 callersMethodstart
(self)
wechat_bot/src/plugins/cchess/engine.py:55
↓ 3 callersMethodstop
(self)
wechat_bot/src/plugins/cchess/engine.py:59
↓ 2 callersFunctionCalcQi
计算一块棋的气
wechat_bot/src/plugins/boardgame/go_ai.py:147
↓ 2 callersMethod__create_blocks
(self)
wechat_bot/src/plugins/color_see_see/data_source.py:23
↓ 2 callersMethod__search
(self, turn, depth, alpha, beta)
wechat_bot/src/plugins/boardgame/gomoku_ai2.py:629
↓ 2 callersMethod_can_fliped
检测落子是否合法,如果不合法,返回 False,否则返回反转子的坐标列表 :param action: 下子位置 :param color: [X,0,.] 棋子状态 :return: False or 反转对方棋子的坐标列表
wechat_bot/src/plugins/boardgame/othello_ai.py:321
↓ 2 callersMethod_gen_bar_graph
说明: 生成柱状图 参数: :param y: 坐标值 :param display_num: 是否显示数值 :param is_barh: 横柱状图
wechat_bot/image_utils.py:1241
↓ 2 callersMethod_get
(self)
wechat_bot/src/plugins/picstatus/collectors/__init__.py:39
↓ 2 callersMethod_handle_max_count
(self, player_uid: int, count: int)
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/record/database.py:128
↓ 2 callersFunctionappend_plugin
(item)
wechat_bot/on.py:4
↓ 2 callersMethodatext
说明: 异步 在图片上添加文字 参数: :param pos: 文字位置 :param text: 文字内容 :param fill: 文字颜色
wechat_bot/image_utils.py:437
↓ 2 callersFunctionbreak_text
(text: str, font: FreeTypeFont, length: int)
wechat_bot/src/plugins/remake/drawer.py:28
↓ 2 callersFunctioncapture_element_screenshot
(html_content, ele="#app", width=625, device_scale_factor=1)
wechat_bot/src/plugins/ACGalaxy/utils.py:44
↓ 2 callersMethodchar_query
获取获得的新角色或六星角色信息
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/record/database.py:247
↓ 2 callersFunctioncharacter_probability
(rank, count)
wechat_bot/src/plugins/draw_card/handles/Paimon_Gacha/data_source.py:14
↓ 2 callersMethodcheck
(self)
wechat_bot/src/plugins/boardgame/othello.py:49
↓ 2 callersFunctioncheck_image_gif
(image_data)
wechat_bot/src/plugins/memes/__init__.py:48
↓ 2 callersMethodcheck_position
(position: str)
wechat_bot/src/plugins/minesweeper/minesweeper.py:31
↓ 2 callersMethodcheck_view
处理完成后删除视图
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/record/database.py:124
↓ 2 callersMethodcircle_corner
说明: 矩形四角变圆 参数: :param radii: 半径 :param point_list: 需要变化的角
wechat_bot/image_utils.py:802
↓ 2 callersFunctionconflict_talents
(talents: List[Talent])
wechat_bot/src/plugins/remake/__init__.py:41
↓ 2 callersMethodcreate_client
使用AK&SK初始化账号Client @return: Client @throws Exception
wechat_bot/src/plugins/translate/aliyun_translate.py:14
↓ 2 callersFunctioncreate_url
(date: str, emoji1: List[int], emoji2: List[int])
wechat_bot/src/plugins/emojimix/data_source.py:10
↓ 2 callersMethoddraw
(self, sameside: bool = True)
wechat_bot/src/plugins/cchess/board.py:415
↓ 2 callersMethoddraw_char_query
不用plt 先生成数个小画板,然后合成一个大画板,最后贴图
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/record/drawer.py:485
↓ 2 callersFunctiondraw_sum
(prop_sum: PropSummary)
wechat_bot/src/plugins/remake/drawer.py:285
↓ 2 callersFunctiondraw_ten_items
(user_id, cards_list)
wechat_bot/src/plugins/draw_card/handles/Paimon_Gacha/draw.py:69
↓ 2 callersMethoddump_data
(self, data: dict, filename: str = "")
wechat_bot/src/plugins/draw_card/handles/base_handle.py:210
↓ 2 callersFunctionemoji_code
(emoji: List[int])
wechat_bot/src/plugins/emojimix/data_source.py:11
↓ 2 callersFunctionenable_collectors
(*names: str)
wechat_bot/src/plugins/picstatus/collectors/__init__.py:111
↓ 2 callersFunctionfetch
( select: Union[int, FetchFlag] = 0b11, cover: bool = False, retry: int = 5, proxy: Optional[P
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/update/main.py:253
↓ 2 callersMethodfind_eaten
(self, pos: Pos)
wechat_bot/src/plugins/boardgame/go.py:14
↓ 2 callersFunctionfind_emoji
(emoji_code: str)
wechat_bot/src/plugins/emojimix/data_source.py:19
↓ 2 callersMethodfinish
查询完成后删除视图
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/record/database.py:164
↓ 2 callersMethodformat_max_card
(self, card_list: List[TC], **kwargs)
wechat_bot/src/plugins/draw_card/handles/base_handle.py:125
↓ 2 callersMethodformat_max_star
( self, card_list: List[Tuple[TC, int]], up_list: List[str] = [], **kwargs )
wechat_bot/src/plugins/draw_card/handles/base_handle.py:112
↓ 2 callersMethodformat_star_result
(self, card_list: List[TC], **kwargs)
wechat_bot/src/plugins/draw_card/handles/base_handle.py:97
↓ 2 callersMethodfrom_fen
从FEN字符串读取当前局面
wechat_bot/src/plugins/cchess/board.py:74
↓ 2 callersMethodfrom_ucci
解析 UCCI 格式的移动
wechat_bot/src/plugins/cchess/move.py:88
↓ 2 callersMethodgacha
模拟抽卡,返回生成的干员信息 :param user: 抽卡用户,用来继承抽卡概率 :param count: 抽卡数量 :return: 干员信息
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/gacha/main.py:48
↓ 2 callersFunctiongenerate
更新卡池信息
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/update/record.py:34
↓ 2 callersFunctionget_acg_info
(mz_id)
wechat_bot/src/plugins/ACGalaxy/utils.py:7
↓ 2 callersFunctionget_acg_list
(city_id=0, key=None, order=None, page=None, count=None, city_name=None)
wechat_bot/src/plugins/ACGalaxy/utils.py:18
↓ 2 callersFunctionget_alias_in_chatroom
(room_id, wx_id)
wechat_bot/common.py:69
↓ 2 callersMethodget_card
(self, pool_name: str, mode: int = 1)
wechat_bot/src/plugins/draw_card/handles/pretty_handle.py:51
↓ 2 callersMethodget_card
(self, mode: int = 1)
wechat_bot/src/plugins/draw_card/handles/pcr_handle.py:22
↓ 2 callersMethodget_card
(self, pool_name: str, mode: int = 1)
wechat_bot/src/plugins/draw_card/handles/guardian_handle.py:45
↓ 2 callersMethodget_card
(self, mode: int = 1)
wechat_bot/src/plugins/draw_card/handles/ba_handle.py:22
↓ 2 callersFunctionget_daily_60s
()
wechat_bot/src/plugins/requests_api/__init__.py:226
↓ 2 callersMethodget_db
(self)
wechat_bot/db.py:17
↓ 2 callersMethodget_diff_block
(self)
wechat_bot/src/plugins/color_see_see/data_source.py:51
↓ 2 callersFunctionget_image_by_svrid
(svrid)
wechat_bot/common.py:258
↓ 2 callersFunctionget_img_hash
说明: 获取图片的hash值 参数: :param image_file: 图片文件路径
wechat_bot/image_utils.py:65
↓ 2 callersMethodget_indict
(self)
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/recruit.py:113
↓ 2 callersFunctionget_moyuribao
()
wechat_bot/src/plugins/requests_api/__init__.py:268
↓ 2 callersMethodget_pool_in_view
获取视图中包含的卡池
wechat_bot/src/plugins/draw_card/handles/arknights_toolkit/record/database.py:108
↓ 2 callersMethodget_property
(self)
wechat_bot/src/plugins/remake/life.py:58
↓ 2 callersFunctionget_seed
(user_id)
wechat_bot/src/plugins/daily_check/data_source.py:30
↓ 2 callersMethodget_user_count
获取当前抽卡次数
wechat_bot/src/plugins/draw_card/count_manager.py:63
↓ 2 callersFunctiongrade_color
(grade: int)
wechat_bot/src/plugins/remake/drawer.py:237
↓ 2 callersMethodgrades
(self)
wechat_bot/src/plugins/remake/property.py:19
↓ 2 callersMethodhas_legal_move
(self, value: int)
wechat_bot/src/plugins/boardgame/othello.py:40
↓ 2 callersMethodiccs
转为 ICCS 格式的坐标
wechat_bot/src/plugins/cchess/move.py:59
↓ 2 callersMethodif_terminal
(self, state)
wechat_bot/src/plugins/boardgame/othello_ai.py:46
↓ 2 callersMethodinit_data
(self)
wechat_bot/src/plugins/draw_card/handles/base_handle.py:226
↓ 2 callersMethodis_checked
判断当前行动方是否被将军
wechat_bot/src/plugins/cchess/board.py:321
↓ 2 callersMethodis_checked_dead
判断当前行动方是否被将死
wechat_bot/src/plugins/cchess/board.py:329
↓ 2 callersMethodis_dead
判断当前行动方的将是否被吃掉
wechat_bot/src/plugins/cchess/board.py:307
↓ 2 callersMethodis_full
(self)
wechat_bot/src/plugins/boardgame/game.py:195
↓ 2 callersMethodis_up
判断该次保底是否必定为up
wechat_bot/src/plugins/draw_card/count_manager.py:93
↓ 2 callersFunctionlaunch_browser
(proxy=None, **kwargs)
wechat_bot/browser.py:28
↓ 2 callersFunctionlaunch_browser
(proxy=None, **kwargs)
wechat_bot/src/plugins/daily_check/browser.py:25
↓ 2 callersMethodlegal
(self, pos: Pos, value: int)
wechat_bot/src/plugins/boardgame/othello.py:23
← previousnext →101–200 of 892, ranked by callers