◆ InventoryItemType()
◆ ~InventoryItemType()
◆ FindOptics2DSelection()
proto native int FindOptics2DSelection |
( |
string |
selectionName, |
|
|
bool |
ignoreCase = true |
|
) |
| |
|
private |
Finds selection index by name.
- Parameters
-
selectionName | Name of selection to find |
ignoreCase | Whether search ignores case sensitivity |
- Returns
- Index of selection or -1 when none.
◆ GetName()
proto native owned string GetName |
( |
| ) |
|
|
private |
◆ GetSoundEvent()
AnimSoundEvent GetSoundEvent |
( |
int |
event_id | ) |
|
|
inlineprivate |
◆ IsUsingOptics2DModel()
proto native bool IsUsingOptics2DModel |
( |
| ) |
|
|
private |
Whether 2D model (modelOptics
) is set and used for this type.
◆ LoadSoundEvents()
◆ SetOptics2DMaterial()
proto native void SetOptics2DMaterial |
( |
int |
index, |
|
|
string |
materialName |
|
) |
| |
|
private |
Set optics 2D material at provided selection index.
- Parameters
-
index | Selection index |
materialName | Name of material to set (/dz/.../*.rvmat) |
◆ SetOptics2DTexture()
proto native void SetOptics2DTexture |
( |
int |
index, |
|
|
string |
textureName |
|
) |
| |
|
private |
Set optics 2D model texture at provided selection index.
- Parameters
-
index | Selection index |
textureName | Name of texture to set (/dz/.../*.paa) |
◆ m_AnimSoundEvents
private ref map<int, ref AnimSoundEvent> m_AnimSoundEvents |
|
private |
◆ m_animSoundEvents
ref array<ref AnimSoundEvent> m_animSoundEvents |
|
private |
The documentation for this class was generated from the following files: