RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.util.parser.impl.NpcSpawnParser Class Reference
Inheritance diagram for com.osroyale.util.parser.impl.NpcSpawnParser:
Collaboration diagram for com.osroyale.util.parser.impl.NpcSpawnParser:

Protected Member Functions

void parse (JsonObject data)
Protected Member Functions inherited from com.osroyale.util.parser.GsonParser
void onEnd ()

Additional Inherited Members

Public Member Functions inherited from com.osroyale.util.parser.GsonParser
 GsonParser (String path)
 GsonParser (String path, boolean log)
final void deserialize ()
Public Member Functions inherited from com.osroyale.util.parser.GenericParser
 GenericParser (String path, String extension, boolean log)
void onRead ()
final int getIndex ()
Protected Attributes inherited from com.osroyale.util.parser.GsonParser
transient Gson builder
Protected Attributes inherited from com.osroyale.util.parser.GenericParser
final Path path
int index

Detailed Description

Parses through the npc spawn file and creates Npcs on startup.

Author
Daniel | Obey

Definition at line 37 of file NpcSpawnParser.java.

Member Function Documentation

◆ parse()

void com.osroyale.util.parser.impl.NpcSpawnParser.parse ( JsonObject data)
inlineprotected

The method allows a user to modify the data as its being parsed.

Parameters
dataThe JsonObject that contains all serialized information.

Reimplemented from com.osroyale.util.parser.GsonParser.

Definition at line 44 of file NpcSpawnParser.java.


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