GodotMattohaLobbySystem 0.2.4
Loading...
Searching...
No Matches
Mattoha.Nodes.MattohaPickable Class Reference

A script used to detect when an CharacterBody enter the Area2D, has a signal with a playerId, playerData, lobbyId and lobbyData, and a OnPickData dictionary. More...

Public Member Functions

delegate void PickedEventHandler (long playerId, Dictionary< string, Variant > playerData, int lobbyId, Dictionary< string, Variant > lobbyData, Dictionary data)
 
override void _Ready ()
 
override void _ExitTree ()
 

Properties

Area2D Area2DNode [get, set]
 
Dictionary OnPickData = new() [get, set]
 

Detailed Description

A script used to detect when an CharacterBody enter the Area2D, has a signal with a playerId, playerData, lobbyId and lobbyData, and a OnPickData dictionary.