#include <algorithm>
#include <list>
Go to the source code of this file.
|
| template<typename T> |
| bool | ListContains (const std::list< T > &values, const T &value) |
| | Report whether a list holds a value.
|
◆ ListContains()
template<typename T>
| bool ListContains |
( |
const std::list< T > & | values, |
|
|
const T & | value ) |
Report whether a list holds a value.
The name is inferred. The addresses are of the instantiations for the child lists of RndAnimatable, RndCollideable, RndDrawable, and RndTransformable, and for the lights of RndEnviron, in that order.
- Template Parameters
-
| T | The type of the elements. |
- Parameters
-
| values | The list. |
| value | The value. |
- Returns
- Whether an element equals the value.
- Ghidra address:
- NTSC-U/C: 0x00371098
- Ghidra address:
- PAL: 0x003df7c8
- Ghidra address:
- NTSC-U/C: 0x0037f468
- Ghidra address:
- PAL: 0x003edb80
- Ghidra address:
- NTSC-U/C: 0x00380230
- Ghidra address:
- PAL: 0x003ee948
- Ghidra address:
- NTSC-U/C: 0x00391758
- Ghidra address:
- PAL: 0x003ffe60
- Ghidra address:
- NTSC-U/C: 0x003811d0
- Ghidra address:
- PAL: 0x003ef8e8