Add UnhookEventEx since HookEventEx already exists
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
The issue asks for an UnhookEventEx counterpart to HookEventEx, so start by finding where HookEventEx and UnhookEvent are declared and implemented, most likely in the event include and the C++ event manager. Read how UnhookEvent currently fails when the event is missing, then add a matching variant that returns quietly in that case. Done means a plugin can call UnhookEventEx for an event that does not exist on the current engine without an error.
索引モデルが issue の本文から書いたものです。
説明
Requesting a UnhookEventEx version like the HookEventEx.
I have some plugins that should work on multiple engines,
But since we don't know how each game is implemented, sometimes an obvious event may not exist
I usually do a hook method to hook only if the plugin is enabled, and then I unhook when goes disabled.
but if the event doesn't exist, then the UnhookEvent will throw an error
- 主要言語
- C++
- スター
- 1.2k
- フォーク
- 476
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
alliedmodders/sourcemod のほかの issue
-
[Bug]: RoundToNearest truncates in plugins compiled with spcomp 1.13対応中かも @fmu1337 が今日担当しました。 オープンBug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
alliedmodders/sourcemod#2627 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
alliedmodders/sourcemod#2615 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
alliedmodders/sourcemod#2613 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
alliedmodders/sourcemod#2571 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Feature Request
難易度 1/5 1時間未満 初心者へのやさしさ 64/100
alliedmodders/sourcemod#2555 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
alliedmodders/sourcemod の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
raspberrypi/rpi-imager#1804 ·
-
difficulty: easy docs good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Ryan-Millard/Img2Num#842 ·
メンテナーはふだん 12 日以内に返信
-
Unit converter reads out of bounds when the saved UnitConverterPreferences setting is malformedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
microsoft/calculator#2532 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
bug difficulty:easy prio:normal
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
NatronGitHub/openfx-misc#411 ·
メンテナーはふだん 1 日以内に返信