Interacting with an Offline User's Inventory in Developer Help
|
|
I have a rough idea of what to do here, however I would like some opinions. I'll give a simple example of what I am looking to accomplish.
When a user first logs into the game they are given a 'House' (presumably a datum?). In this House they can store objects such as a bed and television. When that user logs out, the contents of their House are saved. At this point, an Online user can break into that House and steal the television (moving it into their own 'House').
I assume the House should be a datum containging a list of contents and a way to identify the owner. Where should I store this datum? Should it's location change when the owner is online?
I'd like to hear of any other ways of handling this or if there are any Libraries/Demos that are similar to what I am aiming for. Thanks.
|