Fix item updates in various scenarious
This commit is contained in:
parent
34769049f9
commit
9648c7c040
3 changed files with 22 additions and 12 deletions
|
|
@ -19,7 +19,8 @@ typedef enum {
|
|||
ITEM_UPDATE_ACTOR,
|
||||
ITEM_UPDATE_REMOTE,
|
||||
ITEM_UPDATE_LOADED,
|
||||
ITEM_UPDATE_BACKEND
|
||||
ITEM_UPDATE_BACKEND,
|
||||
ITEM_UPDATE_INVALID
|
||||
} item_update_type_t;
|
||||
|
||||
class ItemData
|
||||
|
|
@ -67,7 +68,7 @@ public:
|
|||
|
||||
struct ItemUpdateRequest
|
||||
{
|
||||
item_update_type_t type;
|
||||
item_update_type_t type = ITEM_UPDATE_INVALID;
|
||||
ItemData payload;
|
||||
std::vector<std::shared_ptr<Actor> > newActors;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue