Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] hmm, but in your examples there the classname is nowhere as string, would that matter?

[DiscordArchive] hmm, but in your examples there the classname is nowhere as string, would that matter?

[DiscordArchive] hmm, but in your examples there the classname is nowhere as string, would that matter?

Pages (10): Previous 1 4 5 6 7 8 10 Next  
rektbyfaith
Administrator
0
05-16-2022, 05:56 PM
#51
Archived author: Foe • Posted: 2022-05-16T17:56:55.016000+00:00
Original source


[Image: unknown.png?ex=690c38a6&is=690ae726&hm=6...c31faf6a9&]
rektbyfaith
05-16-2022, 05:56 PM #51

Archived author: Foe • Posted: 2022-05-16T17:56:55.016000+00:00
Original source


[Image: unknown.png?ex=690c38a6&is=690ae726&hm=6...c31faf6a9&]

rektbyfaith
Administrator
0
05-16-2022, 05:57 PM
#52
Archived author: Grandold • Posted: 2022-05-16T17:57:39.435000+00:00
Original source

okay, was starting to think is it even bad at all then to just have all the classes I got not declared as local then... wouldn't they be in _G['A'] and _G['B'] then too?
rektbyfaith
05-16-2022, 05:57 PM #52

Archived author: Grandold • Posted: 2022-05-16T17:57:39.435000+00:00
Original source

okay, was starting to think is it even bad at all then to just have all the classes I got not declared as local then... wouldn't they be in _G['A'] and _G['B'] then too?

rektbyfaith
Administrator
0
05-16-2022, 05:58 PM
#53
Archived author: Grandold • Posted: 2022-05-16T17:58:22.207000+00:00
Original source

like, if I can access k and v via that, is it at all worse to have the classes not local?
rektbyfaith
05-16-2022, 05:58 PM #53

Archived author: Grandold • Posted: 2022-05-16T17:58:22.207000+00:00
Original source

like, if I can access k and v via that, is it at all worse to have the classes not local?

rektbyfaith
Administrator
0
05-16-2022, 05:59 PM
#54
Archived author: Foe • Posted: 2022-05-16T17:59:04.536000+00:00
Original source

The main issue with using the global namespace is naming really, as long as you know you won't overwrite whatever is in there down the line and you keep your stuff in check, it doesn't matter much
rektbyfaith
05-16-2022, 05:59 PM #54

Archived author: Foe • Posted: 2022-05-16T17:59:04.536000+00:00
Original source

The main issue with using the global namespace is naming really, as long as you know you won't overwrite whatever is in there down the line and you keep your stuff in check, it doesn't matter much

rektbyfaith
Administrator
0
05-16-2022, 06:00 PM
#55
Archived author: Grandold • Posted: 2022-05-16T18:00:04.858000+00:00
Original source

basicly I could just add one object there I guess and use "storage" inside that to make sure there is only one object directly on _G root level
rektbyfaith
05-16-2022, 06:00 PM #55

Archived author: Grandold • Posted: 2022-05-16T18:00:04.858000+00:00
Original source

basicly I could just add one object there I guess and use "storage" inside that to make sure there is only one object directly on _G root level

rektbyfaith
Administrator
0
05-16-2022, 06:00 PM
#56
Archived author: Foe • Posted: 2022-05-16T18:00:18.471000+00:00
Original source

yep
rektbyfaith
05-16-2022, 06:00 PM #56

Archived author: Foe • Posted: 2022-05-16T18:00:18.471000+00:00
Original source

yep

rektbyfaith
Administrator
0
05-16-2022, 06:00 PM
#57
Archived author: Honey • Posted: 2022-05-16T18:00:22.701000+00:00
Original source

rektbyfaith
05-16-2022, 06:00 PM #57

Archived author: Honey • Posted: 2022-05-16T18:00:22.701000+00:00
Original source

rektbyfaith
Administrator
0
05-16-2022, 06:00 PM
#58
Archived author: Grandold • Posted: 2022-05-16T18:00:38.930000+00:00
Original source

someone was watching us ^^
rektbyfaith
05-16-2022, 06:00 PM #58

Archived author: Grandold • Posted: 2022-05-16T18:00:38.930000+00:00
Original source

someone was watching us ^^

rektbyfaith
Administrator
0
05-16-2022, 06:00 PM
#59
Archived author: Honey • Posted: 2022-05-16T18:00:56.142000+00:00
Original source

Nah i Just caught Up
rektbyfaith
05-16-2022, 06:00 PM #59

Archived author: Honey • Posted: 2022-05-16T18:00:56.142000+00:00
Original source

Nah i Just caught Up

rektbyfaith
Administrator
0
05-16-2022, 06:01 PM
#60
Archived author: Grandold • Posted: 2022-05-16T18:01:03.293000+00:00
Original source

but ye, just seems so weird to use stuff like that when in php u just add one $ x)
rektbyfaith
05-16-2022, 06:01 PM #60

Archived author: Grandold • Posted: 2022-05-16T18:01:03.293000+00:00
Original source

but ye, just seems so weird to use stuff like that when in php u just add one $ x)

Pages (10): Previous 1 4 5 6 7 8 10 Next  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)