Fixed issue when inserting objects in client net list
This commit is contained in:
parent
2c9908bcea
commit
92115957b2
6 changed files with 68 additions and 55 deletions
|
|
@ -9,6 +9,7 @@ class WorldUndoManager;
|
|||
|
||||
class WorldUndoAction {
|
||||
public:
|
||||
virtual const char* get_name() const = 0;
|
||||
virtual bool undo(WorldUndoManager& undoMan) = 0;
|
||||
virtual bool redo(WorldUndoManager& undoMan) = 0;
|
||||
virtual void scale_up(const WorldScalar& scaleAmount);
|
||||
|
|
@ -34,6 +35,7 @@ class WorldUndoManager {
|
|||
UndoObjectID get_undoid_from_netid(const NetworkingObjects::NetObjID& netObjID);
|
||||
void register_new_netid_to_existing_undoid(UndoObjectID existingUndoID, const NetworkingObjects::NetObjID& netObjID);
|
||||
std::optional<NetworkingObjects::NetObjID> get_netid_from_undoid(UndoObjectID undoID);
|
||||
std::vector<const char*> get_front_undo_queue_names(unsigned count);
|
||||
|
||||
World& world;
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue