-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
Packet type has method sendToList defined, but this method does not exist (should be sendToPlayers). It is also missing sendToAllExcept.
Corrected type:
type Packet<T> = {
sendToAll: (data: T) -> (),
sendTo: (data: T, target: Player) -> (),
sendToPlayers: (data: T, targets: { Player }) -> (),
sendToAllExcept: (data: T, except: Player) -> (),
wait: () -> T,
send: (data: T, target: Player?) -> (),
listen: (callback: (data: T, player: Player?) -> ()) -> (),
}Reactions are currently unavailable