Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
SourceSpawnList Class Reference
Inheritance diagram for SourceSpawnList:
SourceDataString< SourceSpawnList.Row >

Classes

class  Row
 

Public Member Functions

override Row CreateRow ()
 
override void SetRow (Row r)
 
- Public Member Functions inherited from SourceDataString< SourceSpawnList.Row >
override T GetRow (string id)
 

Detailed Description

Definition at line 3 of file SourceSpawnList.cs.

Member Function Documentation

◆ CreateRow()

override Row SourceSpawnList.CreateRow ( )
inline

Definition at line 32 of file SourceSpawnList.cs.

33 {
34 return new Row
35 {
36 id = SourceData.GetString(0),
37 parent = SourceData.GetString(2),
38 type = SourceData.GetString(3),
39 category = SourceData.GetStringArray(4),
40 idCard = SourceData.GetStringArray(5),
42 filter = SourceData.GetStringArray(7)
43 };
44 }
static string[] GetStringArray(int id)
Definition: SourceData.cs:741
static string GetString(int id)
Definition: SourceData.cs:746

References SourceData< T, T2 >.GetString(), and SourceData< T, T2 >.GetStringArray().

◆ SetRow()

override void SourceSpawnList.SetRow ( Row  r)
inline

Definition at line 46 of file SourceSpawnList.cs.

47 {
48 map[r.id] = r;
49 }

References SourceSpawnList.Row.id.


The documentation for this class was generated from the following file: