mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #223 from lioncash/ref
CGameHintInfo: Take CVParamTransfer parameter by const reference
This commit is contained in:
commit
5804032fb4
|
@ -39,7 +39,7 @@ int CGameHintInfo::FindHintIndex(std::string_view str) {
|
||||||
return it != gameHints.cend() ? it - gameHints.cbegin() : -1;
|
return it != gameHints.cend() ? it - gameHints.cbegin() : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
CFactoryFnReturn FHintFactory(const SObjectTag&, CInputStream& in, const CVParamTransfer, CObjectReference*) {
|
CFactoryFnReturn FHintFactory(const SObjectTag&, CInputStream& in, const CVParamTransfer&, CObjectReference*) {
|
||||||
in.readUint32Big();
|
in.readUint32Big();
|
||||||
s32 version = in.readInt32Big();
|
s32 version = in.readInt32Big();
|
||||||
|
|
||||||
|
|
|
@ -45,5 +45,5 @@ public:
|
||||||
static int FindHintIndex(std::string_view str);
|
static int FindHintIndex(std::string_view str);
|
||||||
};
|
};
|
||||||
|
|
||||||
CFactoryFnReturn FHintFactory(const SObjectTag&, CInputStream&, const CVParamTransfer, CObjectReference*);
|
CFactoryFnReturn FHintFactory(const SObjectTag&, CInputStream&, const CVParamTransfer&, CObjectReference*);
|
||||||
} // namespace urde
|
} // namespace urde
|
||||||
|
|
Loading…
Reference in New Issue