Skip to content

Commit c97b578

Browse files
committed
Added missing documented MC_POST_PLAYER_ADD_EFFECT and MC_POST_ROOM_ADD_EFFECT
1 parent e56431d commit c97b578

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

src/docs/enums/repentogon.json

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -882,19 +882,19 @@
882882
},
883883
"MC_PRE_MINIMAP_UPDATE": {
884884
"value": "1477",
885-
"comment": "Callback has no arguments. Called right before the minimap is updated"
885+
"comment": "Callback has no arguments. Called right before the minimap is update.d"
886886
},
887887
"MC_POST_MINIMAP_UPDATE": {
888888
"value": "1478",
889-
"comment": "Callback has no arguments. Called right after the minimap is updated"
889+
"comment": "Callback has no arguments. Called right after the minimap is updated."
890890
},
891891
"MC_PRE_MINIMAP_RENDER": {
892892
"value": "1479",
893-
"comment": "Callback has no arguments. Called right before the minimap is rendered"
893+
"comment": "Callback has no arguments. Called right before the minimap is rendered."
894894
},
895895
"MC_POST_MINIMAP_RENDER": {
896896
"value": "1480",
897-
"comment": "Callback has no arguments. Called right after the minimap is rendered"
897+
"comment": "Callback has no arguments. Called right after the minimap is rendered."
898898
},
899899
"MC_PRE_PICKUP_GET_LOOT_LIST": {
900900
"value": "1333",
@@ -904,13 +904,21 @@
904904
"value": "1334",
905905
"comment": "(EntityPickup Pickup) - Called before a ghost pickup of the loot content is applied to the pickup. Return `true` to apply pickup ghost to your pickup entity, `false` to cancel it."
906906
},
907+
"MC_POST_PLAYER_ADD_EFFECT": {
908+
"value": "1273",
909+
"comment": "(EntityPlayer Player, ItemConfigItem ItemConfigItem), Optional Arg: ItemConfigItem - Called after the `TemporaryEffect` of an `ItemConfigItem` is added to a player."
910+
},
911+
"MC_POST_ROOM_ADD_EFFECT": {
912+
"value": "1274",
913+
"comment": "(ItemConfigItem ItemConfigItem), Optional Arg: ItemConfigItem - Called after the `TemporaryEffect` of an `ItemConfigItem` is added to a room. Room has its own `TemporaryEffects` that are accessed through `Room::GetEffects()`"
914+
},
907915
"MC_POST_PLAYER_TRIGGER_EFFECT_REMOVED": {
908916
"value": "1268",
909-
"comment": "(EntityPlayer Player, ItemConfigItem ItemConfigItem) - Called after the player's `ItemConfigItem` TemporaryEffect is removed"
917+
"comment": "(EntityPlayer Player, ItemConfigItem ItemConfigItem), Optional Arg: ItemConfigItem - Called after the `TemporaryEffect` of an `ItemConfigItem` is removed from a player."
910918
},
911919
"MC_POST_ROOM_TRIGGER_EFFECT_REMOVED": {
912920
"value": "1269",
913-
"comment": "(ItemConfigItem ItemConfigItem) - Called after the room's `TemporaryEffects` is removed. Room has its own `TemporaryEffects` that are accessed through `Room::GetEffects()`"
921+
"comment": "(ItemConfigItem ItemConfigItem), Optional Arg: ItemConfigItem - Called after the `TemporaryEffect` of an `ItemConfigItem` is removed from a room. Room has its own `TemporaryEffects` that are accessed through `Room::GetEffects()`"
914922
},
915923
"MC_PRE_PLAYER_GRID_COLLISION": {
916924
"value": "1171",

0 commit comments

Comments
 (0)