GithubHelp home page GithubHelp logo

Comments (2)

NathanWolf avatar NathanWolf commented on August 26, 2024

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.

NathanWolf avatar NathanWolf commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.