|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use Event | |
|---|---|
| org.gbanga.api | Specifies the complete interface to the Gbanga Puppetmaster API service. |
| Uses of Event in org.gbanga.api |
|---|
| Subclasses of Event in org.gbanga.api | |
|---|---|
class |
Challenge
A challenge is a game between two players. |
class |
Conversation
A conversation is a message history at a certain location in a certain timeframe. |
class |
Trade
A trade is a deal between two parties. |
class |
Visit
A visit is a player being at a certain cell while doing activities. |
| Fields in org.gbanga.api declared as Event | |
|---|---|
Event[] |
Visit.activities
Events that occured during the visit |
Event |
WebHookEvent.event
A general event |
Event |
Story.link
An optional link to an Event |
| Methods in org.gbanga.api that return Event | |
|---|---|
Event[] |
API.getEventsAt(java.lang.String cellname)
Assorts a list with local Events at a given Cell. |
Event[] |
API.getEventsAt(java.lang.String cellname,
int n)
Assorts a list with a given number of local Events at a given Cell. |
Event[] |
API.getGlobalEvents()
Returns a number of events that take place right now. |
Event[] |
API.getGlobalEvents(int n)
Returns a number of events that take place right now. |
Event[] |
API.getYourEvents(java.lang.String sessionKey)
Returns a number of events that are relevant to an authenticated player personally. |
Event[] |
API.getYourEvents(java.lang.String sessionKey,
int n)
Returns a number of events that are relevant to an authenticated player personally. |
Event |
API.move(java.lang.String sessionKey,
long entityId,
long direction)
Move a placeable Entity towards a given direction |
Event |
API.speak(java.lang.String sessionKey,
long gbangooId,
java.lang.String message)
Lets the given Gbangoo send the message to everyone in its current cell. |
Event |
API.speakTo(java.lang.String sessionKey,
long gbangooId,
java.lang.String player,
java.lang.String message)
Lets the given Gbangoo send a message to the specified player. |
| Methods in org.gbanga.api with parameters of type Event | |
|---|---|
void |
EventListener.onEvent(Event e)
Called when an event occured. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||