Loading...
Searching...
No Matches
com.navigine.idl.java.ZoneEvent Class Reference

Class described user zone event. More...

Public Member Functions

 ZoneEvent (ZoneEventType type, int locationId, int sublocationId, int id, String name, String alias)
 Default constructor for class ZoneEvent.
 
ZoneEventType getType ()
 Handled zone event type.
 
int getLocationId ()
 zone's location identifier.
 
int getSublocationId ()
 zone's sublocationId identifier.
 
int getId ()
 zone's identifier.
 
String getName ()
 zone's name.
 
String getAlias ()
 zone's alias.
 
String toString ()
 

Detailed Description

Class described user zone event.

Referenced from ZoneListener.

Definition at line 16 of file ZoneEvent.java.

Constructor & Destructor Documentation

◆ ZoneEvent()

com.navigine.idl.java.ZoneEvent.ZoneEvent ( ZoneEventType type,
int locationId,
int sublocationId,
int id,
String name,
String alias )
inline

Default constructor for class ZoneEvent.

Definition at line 34 of file ZoneEvent.java.

Member Function Documentation

◆ getAlias()

String com.navigine.idl.java.ZoneEvent.getAlias ( )
inline

zone's alias.

Returns

Java code snippet:

// Get zone alias
String alias = zoneEvent.getAlias();
System.out.println("Zone alias: " + alias);

Kotlin code snippet:

// Get zone alias
val alias = zoneEvent.alias
println("Zone alias: $alias")

Definition at line 141 of file ZoneEvent.java.

◆ getId()

int com.navigine.idl.java.ZoneEvent.getId ( )
inline

zone's identifier.

Returns

Java code snippet:

// Get zone ID
int id = zoneEvent.getId();
System.out.println("Zone ID: " + id);

Kotlin code snippet:

// Get zone ID
val id = zoneEvent.id
println("Zone ID: $id")

Definition at line 109 of file ZoneEvent.java.

◆ getLocationId()

int com.navigine.idl.java.ZoneEvent.getLocationId ( )
inline

zone's location identifier.

Returns

Java code snippet:

// Get location ID
int locationId = zoneEvent.getLocationId();
System.out.println("Zone location ID: " + locationId);

Kotlin code snippet:

// Get location ID
val locationId = zoneEvent.locationId
println("Zone location ID: $locationId")

Definition at line 77 of file ZoneEvent.java.

◆ getName()

String com.navigine.idl.java.ZoneEvent.getName ( )
inline

zone's name.

Returns

Java code snippet:

// Get zone name
String name = zoneEvent.getName();
System.out.println("Zone name: " + name);

Kotlin code snippet:

// Get zone name
val name = zoneEvent.name
println("Zone name: $name")

Definition at line 125 of file ZoneEvent.java.

◆ getSublocationId()

int com.navigine.idl.java.ZoneEvent.getSublocationId ( )
inline

zone's sublocationId identifier.

Returns

Java code snippet:

// Get sublocation ID
int sublocationId = zoneEvent.getSublocationId();
System.out.println("Zone sublocation ID: " + sublocationId);

Kotlin code snippet:

// Get sublocation ID
val sublocationId = zoneEvent.sublocationId
println("Zone sublocation ID: $sublocationId")

Definition at line 93 of file ZoneEvent.java.

◆ getType()

ZoneEventType com.navigine.idl.java.ZoneEvent.getType ( )
inline

Handled zone event type.

Returns

Java code snippet:

// Get event type
ZoneEventType type = zoneEvent.getType();
System.out.println("Zone event type: " + type);

Kotlin code snippet:

// Get event type
val type = zoneEvent.type
println("Zone event type: $type")

Definition at line 61 of file ZoneEvent.java.

◆ toString()

String com.navigine.idl.java.ZoneEvent.toString ( )
inline

Definition at line 146 of file ZoneEvent.java.


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