Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | BaseCollimatorSightsComponentClass |
Functions | |
BaseCollimatorSightsComponentClass SightsComponentClass | SetReticleSize (float angularSize, float reticlePortion) |
proto external float | GetReticleAngularSize () |
Get the default angular size of the reticle, in degrees. More... | |
proto external float | GetReticlePortion () |
Get the default portion of the reticle that covers the given angular size. More... | |
proto external int | GetNumReticles () |
Get the number of reticle infos. More... | |
proto external bool | IsReticleValid (int index) |
Is reticle index valud. More... | |
proto external BaseCollimatorReticleInfo | GetReticleByIndex (int index) |
Get a reticle by index. More... | |
proto external int | GetCurrentReticleShape () |
Get current reticle shape. More... | |
proto external void | ReticleNextShape () |
Set the next reticle shape. This always works, but might not do anything if only one reticle is defined. More... | |
proto external void | ReticlePreviousShape () |
Set the previous reticle shape. This always works, but might not do anything if only one reticle is defined. More... | |
proto external bool | SetReticleShapeByIndex (int iIndex) |
Set reticle shape by index. Returns true if successful. More... | |
proto external int | GetNumColors () |
Get the number of reticle colors. More... | |
proto external int | IsColorValid (int index) |
Is color index valid. More... | |
proto external BaseCollimatorReticleColor | GetColorByIndex (int index) |
Get a color record by index. More... | |
proto external int | GetCurrentColor () |
Get current reticle color index. More... | |
proto external void | ReticleNextColor () |
Set the next reticle color. This always works, but might not do anything if only one or no color is defined. More... | |
proto external void | ReticlePreviousColor () |
Set the previous reticle color. This always works, but might not do anything if only one or no color is defined. More... | |
proto external bool | SetReticleColorByIndex (int iIndex) |
Set reticle color by index. Return true if successful. More... | |
event void | UpdateReticlePosition (float u, float v, float uScale, float vScale) |
Called to update the sight position U/V. More... | |
event void | OnPostInit (IEntity owner) |
Called on PostInit when all components are added. More... | |
event void | UpdateReticleShapeIndex (int index) |
Called to update the Reticle shape. More... | |
event void | UpdateReticleColor (vector inner, vector glow) |
Called to update reticle color. More... | |
event void | OnSightADSActivate () |
event void | OnSightADSDeactivated () |
Called every time the sight is deactivated. More... | |