wavelength 1.0.0
Loading...
Searching...
No Matches
listcontains.h File Reference
#include <algorithm>
#include <list>
Include dependency graph for listcontains.h:

Go to the source code of this file.

Functions

template<typename T>
bool ListContains (const std::list< T > &values, const T &value)
 Report whether a list holds a value.

Function Documentation

◆ 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
TThe type of the elements.
Parameters
valuesThe list.
valueThe 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