asobi_telemetry (asobi v0.35.4)

View Source

Summary

Functions

anticheat_violation(PlayerId, Type, Details)

-spec anticheat_violation(binary(), atom(), map()) -> ok.

auth_cache_hit(Kind)

-spec auth_cache_hit(positive | negative) -> ok.

auth_cache_miss(Kind)

-spec auth_cache_miss(positive | negative) -> ok.

auth_cache_sweep()

-spec auth_cache_sweep() -> ok.

chat_message_sent(ChannelId, SenderId)

-spec chat_message_sent(binary(), binary()) -> ok.

economy_transaction(PlayerId, Currency, Amount, Reason)

-spec economy_transaction(binary(), binary(), integer(), binary()) -> ok.

handle_event(EventName, Measurements, Metadata, Config)

match_finished(MatchId, DurationMs, Result)

-spec match_finished(binary(), pos_integer(), map()) -> ok.

match_player_joined(MatchId, PlayerId)

-spec match_player_joined(binary(), binary()) -> ok.

match_player_left(MatchId, PlayerId)

-spec match_player_left(binary(), binary()) -> ok.

match_started(MatchId, Mode)

-spec match_started(binary(), binary() | undefined) -> ok.

matchmaker_formed(Mode, PlayerCount, WaitMs)

-spec matchmaker_formed(binary(), pos_integer(), pos_integer()) -> ok.

matchmaker_queued(PlayerId, Mode)

-spec matchmaker_queued(binary(), binary() | undefined) -> ok.

matchmaker_removed(PlayerId, Reason)

-spec matchmaker_removed(binary(), atom()) -> ok.

session_connected(PlayerId)

-spec session_connected(binary()) -> ok.

session_disconnected(PlayerId, DurationMs)

-spec session_disconnected(binary(), pos_integer()) -> ok.

setup()

-spec setup() -> ok.

store_purchase(PlayerId, ItemId, Cost)

-spec store_purchase(binary(), binary(), integer()) -> ok.

vote_cast(VoteId, PlayerId)

-spec vote_cast(binary(), binary()) -> ok.

vote_resolved(VoteId, DurationMs, Result)

-spec vote_resolved(binary(), pos_integer(), map()) -> ok.

vote_started(VoteId, Method)

-spec vote_started(binary(), binary()) -> ok.

world_finished(WorldId, DurationMs, Result)

-spec world_finished(binary(), pos_integer(), map()) -> ok.

world_phase_changed(WorldId, FromPhase, ToPhase)

-spec world_phase_changed(binary(), binary(), binary()) -> ok.

world_player_joined(WorldId, PlayerId)

-spec world_player_joined(binary(), binary()) -> ok.

world_player_left(WorldId, PlayerId)

-spec world_player_left(binary(), binary()) -> ok.

world_started(WorldId, Mode)

-spec world_started(binary(), binary() | undefined) -> ok.

ws_connect_rate_limited(PeerIp)

-spec ws_connect_rate_limited(binary()) -> ok.

ws_connected()

-spec ws_connected() -> ok.

ws_disconnected()

-spec ws_disconnected() -> ok.

ws_idle_auth_timeout()

-spec ws_idle_auth_timeout() -> ok.

ws_message_in(Type)

-spec ws_message_in(binary()) -> ok.

ws_message_out(Type)

-spec ws_message_out(binary()) -> ok.