9/21/2023 0 Comments Moparscape client jharThen, in the Quests class (in the. package) add an instance of the quest you made to the list of quests. All you need to do in the class is supply constructor arguments. Adding QuestsĬreate a class that extends Quest (in the .quest package) and put it in the .quest.impl package. Once you're done, open up the ObjectActionManager (in the. package) and add the bindings. Just look for an ObjectAction that behaves similar to what you want (in the. package), then copy that class and modify as needed. Finally, go to the config folder and open up command-config.xml and add a permission entry and a comment above it, explaining what it does. Once you do that, create the function, in the area the other functions are. Make sure that you pass the arguments needed to the function. Add a new case, with a lowercase name and no spaces, that will call the method you'll make. Go to the command handler (in the .phandler.client package) and look for the large match statement with a bunch of cases. So, with a simple annotation, we can make an entire property transient. Public static String example3 = "some value here" Public transient String example2 = "some other value here" Private String example1 = "some private value here" Public String example0 = "some value here"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |