RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.content.writer.impl.SettingWriter Class Reference

Class handles writing on the server settings itemcontainer. More...

Inheritance diagram for com.runehive.content.writer.impl.SettingWriter:
Collaboration diagram for com.runehive.content.writer.impl.SettingWriter:

Public Member Functions

 SettingWriter (Player player)
Public Member Functions inherited from com.runehive.content.writer.InterfaceWriter
 InterfaceWriter (Player player)
void scroll ()

Protected Member Functions

int[][] color ()
int[][] font ()
int startingIndex ()
String[] text ()

Private Member Functions

String format (boolean parameter)

Private Attributes

String[] text

Additional Inherited Members

Static Public Member Functions inherited from com.runehive.content.writer.InterfaceWriter
static void write (InterfaceWriter writer)
Protected Attributes inherited from com.runehive.content.writer.InterfaceWriter
Player player

Detailed Description

Class handles writing on the server settings itemcontainer.

Author
Daniel

Definition at line 11 of file SettingWriter.java.

Constructor & Destructor Documentation

◆ SettingWriter()

com.runehive.content.writer.impl.SettingWriter.SettingWriter ( Player player)

Definition at line 24 of file SettingWriter.java.

24 {
25 super(player);
26 }

References com.runehive.content.writer.InterfaceWriter.player.

Member Function Documentation

◆ color()

int[][] com.runehive.content.writer.impl.SettingWriter.color ( )
protected

Reimplemented from com.runehive.content.writer.InterfaceWriter.

Definition at line 43 of file SettingWriter.java.

43 {
44 return null;
45 }

◆ font()

int[][] com.runehive.content.writer.impl.SettingWriter.font ( )
protected

Reimplemented from com.runehive.content.writer.InterfaceWriter.

Definition at line 48 of file SettingWriter.java.

48 {
49 return null;
50 }

◆ format()

String com.runehive.content.writer.impl.SettingWriter.format ( boolean parameter)
private

Definition at line 28 of file SettingWriter.java.

28 {
29 return parameter ? "<col=47781F>Enabled" : "<col=F02E2E>Disabled";
30 }

◆ startingIndex()

int com.runehive.content.writer.impl.SettingWriter.startingIndex ( )
protected

Reimplemented from com.runehive.content.writer.InterfaceWriter.

Definition at line 33 of file SettingWriter.java.

33 {
34 return 51011;
35 }

◆ text()

String[] com.runehive.content.writer.impl.SettingWriter.text ( )
protected

Reimplemented from com.runehive.content.writer.InterfaceWriter.

Definition at line 38 of file SettingWriter.java.

38 {
39 return text;
40 }

References text.

Member Data Documentation

◆ text

String [] com.runehive.content.writer.impl.SettingWriter.text
private
Initial value:
= {
"",
"</col>Welcome screen: " + format(player.settings.welcomeScreen),
"</col>TriviaBot: " + format(player.settings.triviaBot),
"</col>Global yell: " + format(player.settings.yell),
"</col>Drop notification: " + format(player.settings.dropNotification),
"</col>Untradeables notification: " + format(player.settings.untradeableNotification),
"</col>Prestige colors: " + format(player.settings.prestigeColors),
"</col>Screenshot kills: " + format(player.settings.screenshotKill),
"",
}

Definition at line 12 of file SettingWriter.java.

12 {
13 "",
14 "</col>Welcome screen: " + format(player.settings.welcomeScreen),
15 "</col>TriviaBot: " + format(player.settings.triviaBot),
16 "</col>Global yell: " + format(player.settings.yell),
17 "</col>Drop notification: " + format(player.settings.dropNotification),
18 "</col>Untradeables notification: " + format(player.settings.untradeableNotification),
19 "</col>Prestige colors: " + format(player.settings.prestigeColors),
20 "</col>Screenshot kills: " + format(player.settings.screenshotKill),
21 "",
22 };

Referenced by text().


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