We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a53eba1 commit 9a3eafdCopy full SHA for 9a3eafd
include/gamerules.inc
@@ -12,8 +12,10 @@
12
*/
13
methodmap CGameRules < CBaseEntity
14
{
15
+ // this entity is intentionally non-nullable, the only way to retrieve an instance of gamerules is through `GetEntity`.
16
+
17
/**
- * Returns the gamerules proxy entity for this game, or null if the entity has not been created yet.
18
+ * Returns the gamerules proxy entity for this game, or `INVALID_ENTITY` if the entity has not been created yet.
19
20
public static CGameRules GetEntity()
21
0 commit comments