Skip to content

Commit

Permalink
Update documention for ServerSideConnectionEvent#Intent
Browse files Browse the repository at this point in the history
  • Loading branch information
aromaa committed Oct 12, 2024
1 parent 196f5d5 commit ea4d5e7
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.spongepowered.api.event.message.MessageEvent;
import org.spongepowered.api.network.ServerSideConnection;
import org.spongepowered.api.network.channel.Channel;
import org.spongepowered.api.network.channel.raw.RawDataChannel;
import org.spongepowered.api.profile.GameProfile;
import org.spongepowered.api.service.ban.BanService;
import org.spongepowered.api.service.whitelist.WhitelistService;
Expand Down Expand Up @@ -81,6 +82,11 @@ public interface ServerSideConnectionEvent extends Event {
* <p>Called asynchronously when the client attempts to connect to
* the server.</p>
*
* <p>During this event, it's possible to use the {@link RawDataChannel}s to send
* requests to the client. As long as there's requests going to the client,
* the connection will stay in the intent phase and will not continue
* to the {@link Auth} event.</p>
*
* <p>After observing this event for particular {@link ServerSideConnection connection}
* you are guaranteed to get #Disconnect for the same connection without
* ordering issues.</p>
Expand Down

0 comments on commit ea4d5e7

Please sign in to comment.