LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[IDEA] XML docs to avoid possible NREs

Open OMEGA3065 opened this issue 6 months ago • 0 comments

Goal Description

Currently in the event which is fired after a player leaves, the ev.Player is missing some fields/properties. I understand this is a technical issue, that being said I do think it should be mentioned in the XML documentation of either the event, event arguments of the event or in the Player class itself. This could improve developer experience since it would directly warn them not to access the fields affected. (1 known field is the Player's IP address which will be null)

Notes

No response

OMEGA3065 avatar Jun 03 '26 14:06 OMEGA3065