azerothcore / azerothcore/eluna-ts

Bug: Register Server Events, Package Events do not accept an entry

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
38
Forks
4
PR merge metrics
No merged PRs in 30d

Description

This code should not expect an entry:
```typescript
declare function RegisterServerEvent(
this: void,
entry: number,
event: ServerEvents.SERVER_EVENT_ON_PACKET_RECEIVE,
func: HookFunctionNoSelf,
shots?: number,
): (...args: any[]) => any;
declare function RegisterServerEvent(
this: void,
entry: number,
event: ServerEvents.SERVER_EVENT_ON_PACKET_SEND,
func: HookFunctionNoSelf,
shots?: number,
): (...args: any[]) => any;
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the TypeScript declarations for RegisterServerEvent and Package Events, using the signatures shown in the issue as the search terms. Check the related event overloads for consistency, then verify that the affected declarations no longer require an entry argument.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.