Jump to content
  • Advertisement
  • entries
  • comments
  • views


Sign in to follow this  


It's always nice to see people getting some progress done like Deyja and Tape Worm; provides ample motivation to get off my ass.

Nothing showy today, but I added more reflection details to automate the client/server messaging. I managed to overcome the reflected delegate assignment problem as described in the July 20th post. It required using IConvertable to explicitly allow for a functor to be converted into the delegate type, GetMethod("Invoke") to fiddle with parameter types rather than checking directly or via generics, and manually instantiating the generic helper with a type array. Nasty as sin, but it's something I can ignore now and better than adding new lines of code in the server with every server visible parameter...

I also added reflection discovery of game types (rather than a static array), and a constraining functor for the object creation event.

Hopefully, automating the message structure will allow me to now more freely flesh out the game classes without the demotivation that adding event handlers manually brings.
Sign in to follow this  

1 Comment

Recommended Comments

Hurray for linking to me. I've got even more done since then! I'm finally at the point in my project where new features no longer require major changes to the underlying code.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!