Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What would such an integration do?

[DiscordArchive] What would such an integration do?

[DiscordArchive] What would such an integration do?

rektbyfaith
Administrator
0
06-03-2023, 05:51 AM
#1
Archived author: Honey • Posted: 2023-06-03T05:51:41.307000+00:00
Original source

What would such an integration do?
rektbyfaith
06-03-2023, 05:51 AM #1

Archived author: Honey • Posted: 2023-06-03T05:51:41.307000+00:00
Original source

What would such an integration do?

rektbyfaith
Administrator
0
06-03-2023, 05:57 AM
#2
Archived author: Deleted User • Posted: 2023-06-03T05:57:51.019000+00:00
Original source

like code completion intellisense on classes
rektbyfaith
06-03-2023, 05:57 AM #2

Archived author: Deleted User • Posted: 2023-06-03T05:57:51.019000+00:00
Original source

like code completion intellisense on classes

rektbyfaith
Administrator
0
06-03-2023, 05:59 AM
#3
Archived author: Honey • Posted: 2023-06-03T05:59:32.566000+00:00
Original source

I'm using intellisense idea with a Lua plugin. But it doesn't know the classes of the engine.
GitHub Copilot helps ofc.
rektbyfaith
06-03-2023, 05:59 AM #3

Archived author: Honey • Posted: 2023-06-03T05:59:32.566000+00:00
Original source

I'm using intellisense idea with a Lua plugin. But it doesn't know the classes of the engine.
GitHub Copilot helps ofc.

rektbyfaith
Administrator
0
06-03-2023, 05:59 AM
#4
Archived author: Rymercyble • Posted: 2023-06-03T05:59:59.427000+00:00
Original source

and if u are creating addon then u are completely out of luck there
rektbyfaith
06-03-2023, 05:59 AM #4

Archived author: Rymercyble • Posted: 2023-06-03T05:59:59.427000+00:00
Original source

and if u are creating addon then u are completely out of luck there

rektbyfaith
Administrator
0
06-03-2023, 06:36 AM
#5
Archived author: Anchy • Posted: 2023-06-03T06:36:31.206000+00:00
Original source

you could build your own intellisense
rektbyfaith
06-03-2023, 06:36 AM #5

Archived author: Anchy • Posted: 2023-06-03T06:36:31.206000+00:00
Original source

you could build your own intellisense

rektbyfaith
Administrator
0
06-03-2023, 06:36 AM
#6
Archived author: Anchy • Posted: 2023-06-03T06:36:44.905000+00:00
Original source

using the VSCode Lua Language server, and then create your own annotations
rektbyfaith
06-03-2023, 06:36 AM #6

Archived author: Anchy • Posted: 2023-06-03T06:36:44.905000+00:00
Original source

using the VSCode Lua Language server, and then create your own annotations

rektbyfaith
Administrator
0
06-03-2023, 06:37 AM
#7
Archived author: Anchy • Posted: 2023-06-03T06:37:43.368000+00:00
Original source

example annotation file:
```lua
---@enum PlayerEvents
PlayerEvents = {
PLAYER_EVENT_ON_CHARACTER_CREATE = 1
}

---@param event PlayerEvents
---@param func function
function RegisterPlayerEvent(event, func) end```
rektbyfaith
06-03-2023, 06:37 AM #7

Archived author: Anchy • Posted: 2023-06-03T06:37:43.368000+00:00
Original source

example annotation file:
```lua
---@enum PlayerEvents
PlayerEvents = {
PLAYER_EVENT_ON_CHARACTER_CREATE = 1
}

---@param event PlayerEvents
---@param func function
function RegisterPlayerEvent(event, func) end```

rektbyfaith
Administrator
0
06-03-2023, 06:38 AM
#8
Archived author: Anchy • Posted: 2023-06-03T06:38:06.064000+00:00
Original source

```lua
function OnCharacterCreate(event, player)
...
end

RegisterPlayerEvent(PlayerEvents.PLAYER_EVENT_ON_CHARACTER_CREATE, OnCharacterCreate)```
rektbyfaith
06-03-2023, 06:38 AM #8

Archived author: Anchy • Posted: 2023-06-03T06:38:06.064000+00:00
Original source

```lua
function OnCharacterCreate(event, player)
...
end

RegisterPlayerEvent(PlayerEvents.PLAYER_EVENT_ON_CHARACTER_CREATE, OnCharacterCreate)```

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)