|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Public Member Functions | |
| StringSource (string str, string sep) | |
| ATTRIB (StringSource, StringSource_sep, string) | |
| ATTRIB (StringSource, StringSource_str, string) | |
| virtual void | destroy () |
| cleanup on shutdown. | |
| virtual void | getEntry () |
| get entry i passing name and icon through returns if it is not null returns DataSource_false if out of bounds otherwise returns an entity or DataSource_true | |
| virtual void | indexOf () |
| return the index of the first match for find. | |
| virtual void | reload () |
| reload all entries matching filter returning how many matches were found | |
Static Public Attributes | |
| static entity | false = NULL |
| static entity | true = NEW(Object) |
Definition at line 21 of file datasource.qh.
Definition at line 3 of file datasource.qc.
References StringSource(), and CONSTRUCT.
Referenced by StringSource(), ATTRIB(), ATTRIB(), getEntry(), and reload().
| StringSource::ATTRIB | ( | StringSource | , |
| StringSource_sep | , | ||
| string | ) |
References StringSource(), ATTRIB(), CONSTRUCTOR, ENDCLASS, entity(), getEntry(), METHOD, name, reload(), and this.
| StringSource::ATTRIB | ( | StringSource | , |
| StringSource_str | , | ||
| string | ) |
References StringSource(), and ATTRIB().
|
inlinevirtualinherited |
cleanup on shutdown.
optional
Definition at line 17 of file datasource.qh.
References destroy(), and entity().
Referenced by destroy().
|
virtual |
get entry i passing name and icon through returns if it is not null returns DataSource_false if out of bounds otherwise returns an entity or DataSource_true
Reimplemented from DataSource.
Reimplemented in CvarStringSource.
Definition at line 9 of file datasource.qc.
References StringSource(), argv(), entity(), getEntry(), name, string_null, and tokenizebyseparator.
Referenced by ATTRIB(), and getEntry().
|
inlinevirtualinherited |
|
virtual |
reload all entries matching filter returning how many matches were found
Reimplemented from DataSource.
Reimplemented in CvarStringSource.
Definition at line 17 of file datasource.qc.
References StringSource(), entity(), reload(), and tokenizebyseparator.
Definition at line 5 of file datasource.qh.
Definition at line 4 of file datasource.qh.