Comments (2)
This is pretty far down on the TODO list now, I think.
Anybody really need to extend their DAOs?
Hm, I guess I could be doing it with NetherPlayer and NetherWorld ... maybe it's not such a bad idea.
from bukkitplugins.
Wow, this:
http://en.wikibooks.org/wiki/Java_Programming/Annotations/Meta-Annotations#Inherited
I stumbled upon while trying to fix an odd issue (I can't use a persisted class from a library?? Why not? It acts like the annotations aren't there.... hrm...)
Anyway, I don't have time to really play with this now, but if I'm reading this right it means I can just add @inherited to PersistField, and it tremendously simplifies supporting persisted ineritence- the fields themselves will just work!
Hell, i need to really think about it, but that might be all I need to even do... since each class would get its own PersistedClass with it's own cache table, and instances get looked up based on actual type- so as long as you don't try to get an instance of a class by using its base class (which should be ok, really, and maybe I could implement that eventually) ... well, it might Just Work.
Man, I really want to try this out now.... giving this issue a serious bump to at least test this out a bit when I get a chance... after I fix this lib issue, or at least bail on Gameplay for the time being so I can post a fixed NetherGate. :\
from bukkitplugins.
Related Issues (20)
- Incremental Auto-Save
- Generalized undo system HOT 1
- Implement Material List data
- Generalized mob spawning HOT 1
- Create Persisted base class
- Throw Custom Exceptions
- Fix /nether go (and phase spell)
- Casting an spell crashes the server HOT 2
- Implement "polymorph" spell HOT 1
- Default to plugin name as schema
- Improve getAll()
- Torch creates floating glowstone on snow HOT 1
- Blink TP's you to 255 y HOT 1
- Better NetherGate Portal Tracking HOT 3
- Peek knocks torches off walls HOT 1
- Reagent costs HOT 2
- Nethergate stops working after server restart HOT 1
- Spell wont work HOT 2
- Iconomy errors HOT 1
- cast doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bukkitplugins.