mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 08:27:42 +00:00
CEntity: Rename ConnectionList() to GetConnectionList()
Allows const overloading to function, preventing compilation errors from occuring across constness changes.
This commit is contained in:
@@ -61,8 +61,8 @@ public:
|
||||
TEditorId GetEditorId() const { return xc_editorId; }
|
||||
void SendScriptMsgs(EScriptObjectState state, CStateManager& stateMgr, EScriptObjectMessage msg);
|
||||
|
||||
std::vector<SConnection>& GetConnectionList() { return x20_conns; }
|
||||
const std::vector<SConnection>& GetConnectionList() const { return x20_conns; }
|
||||
std::vector<SConnection>& ConnectionList() { return x20_conns; }
|
||||
|
||||
std::string_view GetName() const { return x10_name; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user