Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Blind class reconstruction (instance duplication)

  1. #11

    Blind class reconstruction (instance duplication)

    Sorry Jarrod, you're talking apples to my oranges. We both understand streams well, and this doesn't solve my issue (nor even address it). Serialization will not reach across types where an assign call that copies data will--serialization in my case will lead to numerous errors that I wish to avoid.

    Does anyone else have insight into my situation?

  2. #12

    Blind class reconstruction (instance duplication)

    Robert, check your PM please.
    Jarrod Davis
    Technical Director @ Piradyne Games

  3. #13

    Blind class reconstruction (instance duplication)

    Oh golly, I really should have thought of this earlier! :doh: All I have to do is use a Decorator class to wrap transform an item into a stack, and if duplication is already handled it can easily handle addition and subtraction of items from the stack.

    That solves that problem, and prevents any need for a "TStackableItem" class, as any base item could be stacked. Goodie.

    I'll have to write a few tests and see how well I can do blind class duplication. This could get interesting really quickly.

  4. #14

    Blind class reconstruction (instance duplication)

    i loved this emoticon :doh: :doh:
    :lol:
    From brazil (:

    Pascal pownz!

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •