RuneHive-Game
Loading...
Searching...
No Matches
RequestType.java
Go to the documentation of this file.
1package com.runehive.game.world.entity.mob.player.requests;
2
3/**
4 * Represents the different types of request.
5 *
6 * @author Graham Edgecombe
7 */
8public enum RequestType {
9
10 /** A trade request. */
11 TRADE("tradereq"),
12
13 /** A duel request. */
14 DUEL("duelreq");
15
16 /** The client-side name of the request. */
17 private String clientName;
18
19 /**
20 * Creates a type of request.
21 *
22 * @param clientName
23 * The name of the request client-side.
24 */
26 this.clientName = clientName;
27 }
28
29 /**
30 * Gets the client name.
31 *
32 * @return The client name.
33 */
34 public String getClientName() {
35 return clientName;
36 }
37}
RequestType(String clientName)
Creates a type of request.
String clientName
The client-side name of the request.