RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.net.session.GameSession Class Reference
Inheritance diagram for com.osroyale.net.session.GameSession:
Collaboration diagram for com.osroyale.net.session.GameSession:

Public Member Functions

void handleClientPacket (Object o)
Public Member Functions inherited from com.osroyale.net.session.Session
 Session (Channel channel)
final void close ()
Channel getChannel ()
String getHost ()

Protected Member Functions

void onClose (ChannelFuture f)

Additional Inherited Members

Protected Attributes inherited from com.osroyale.net.session.Session
final Channel channel
final String host

Detailed Description

Represents a Session when a Player has been authenticated and active in the game world.

Author
nshusa

Definition at line 56 of file GameSession.java.

Member Function Documentation

◆ handleClientPacket()

void com.osroyale.net.session.GameSession.handleClientPacket ( Object o)
inline

The method that is called when the client sends packets to the server.

Parameters
oThe vague object packet.

Reimplemented from com.osroyale.net.session.Session.

Definition at line 74 of file GameSession.java.

◆ onClose()

void com.osroyale.net.session.GameSession.onClose ( ChannelFuture future)
inlineprotected

The method called after a session has been closed.

Parameters
futureThe result of the session being closed.

Reimplemented from com.osroyale.net.session.Session.

Definition at line 81 of file GameSession.java.


The documentation for this class was generated from the following file: