You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LuaDoc("An alternative name for `.Loaded`, to match that used by entity wrappers.")]
38
38
publicboolExists=>this.Loaded;
39
39
40
40
[LuaPlayerDoc("This is the _universally unique_ ID of the character currently logged in.")]
41
41
publiculong?CharacterId=>this.Loaded
42
-
?Service.ClientState.LocalContentId
42
+
?Service.PlayerState.ContentId
43
43
:null;
44
44
45
45
[LuaDoc("This provides an `EntityWrapper` wrapper object around the currently-logged-in player (or around nothing) _at the time of access_.",
46
46
"If you cache this, it may become invalid, such as if the player logs out.",
47
47
"It is recommended that you only cache this in a function-local variable, and not rely on it remaining valid between execution frames, especially if you use the action queue.",
48
48
"This value itself will _never_ be `nil`, but _will_ represent a nonexistent/invalid game entity if the `Loaded` property is `false`.")]
0 commit comments