Friday, October 21, 2016

AbiathRPC - Server level loading

Before the AbiathRPC client extension can work with remote levels, the server has to be able to load and send them. A few days ago, I wrote a very simple addition to the server startup routine that opens a GalaxyLevels set with files specified in the config file and prepares it into a WCF-compatible format, which mostly involved transforming each level's data into a one-dimensional array as opposed to a three-dimensional one. I added a WCF operation contract to download all the levels, which will be called during the initial connection after authentication.

No comments:

Post a Comment