MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getOpponent

Function getOpponent

src/OpenLoco/src/World/CompanyManager.cpp:909–912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907 }
908
909 Company* getOpponent()
910 {
911 return get(rawPlayerCompanies()[1]);
912 }
913
914 // 0x00438047
915 // Returns a string between 1810 and 1816 with up to two arguments.

Callers 2

beginSendChatMessageFunction · 0.85
drawFunction · 0.85

Calls 1

getFunction · 0.70

Tested by

no test coverage detected