Add UnhookEventEx since HookEventEx already exists
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C++
- Estrellas
- 1.2k
- Forks
- 476
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 13
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de alliedmodders/sourcemod
-
[Bug]: RoundToNearest truncates in plugins compiled with spcomp 1.13Posiblemente ocupada @fmu1337 la tomó hoy. AbiertoBug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
alliedmodders/sourcemod#2627 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
alliedmodders/sourcemod#2615 ·
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
alliedmodders/sourcemod#2613 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
alliedmodders/sourcemod#2571 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Disable Nextmap for CSGO?AbiertoFeature Request
Dificultad 1/5 Menos de una hora Aptitud para principiantes 64/100
alliedmodders/sourcemod#2555 · 3 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de alliedmodders/sourcemod
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
raspberrypi/rpi-imager#1804 ·
-
difficulty: easy docs good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Ryan-Millard/Img2Num#842 ·
Los mantenedores suelen responder en 12 días
-
Unit converter reads out of bounds when the saved UnitConverterPreferences setting is malformedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
microsoft/calculator#2532 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
bug difficulty:easy prio:normal
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
NatronGitHub/openfx-misc#411 ·
Los mantenedores suelen responder en 1 día