Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ESpawnResult.c File Reference

Go to the source code of this file.

Enumerations

enum  SCR_ESpawnResult {
  OK = 0, BAD_REQUEST = 1000, UNSUPPORTED_SPAWN_METHOD = 2000, MISSING_HANDLER,
  SPAWN_NOT_ALLOWED = 3000, NOT_ALLOWED_TIMER, NOT_ALLOWED_SPAWNPOINT_DISABLED, NOT_ALLOWED_SPAWNING_DISABLED,
  NOT_ALLOWED_VEHICLE_FULL, NOT_ALLOWED_VEHICLE_MOVING, NOT_ALLOWED_RADIO_VEHICLE_SPAWNING_DISABLED, NOT_ALLOWED_SPAWNPOINT_OCCUPIED_BY_HOSTILE,
  NOT_ALLOWED_SPAWNING_DISABLED_ENEMIES_NEARBY, NOT_ALLOWED_SPAWNPOINT_DISABLED_OUT_OF_RESPAWNS, NOT_ALLOWED_NOT_ENOUGH_SUPPLIES, INVALID_PREFAB = 5000,
  CANNOT_VALIDATE, CANNOT_SPAWN, CANNOT_PREPARE, CANNOT_POSSES,
  CANNOT_ASSIGN, INTERNAL_ERROR = 666666, UNKNOWN_ERROR = 999999
}
 

Variables

enum SCR_ESpawnResult GetHandlerType
 

Enumeration Type Documentation

◆ SCR_ESpawnResult

Enumerator
OK 

Spawn successfull!

BAD_REQUEST 

Request was invalid and caught before it was sent further.

UNSUPPORTED_SPAWN_METHOD 

Response sent when a user attempts to request a respawn through a method which is disallowed through the game mode.

MISSING_HANDLER 

Bad data setup. Each request component should always have a request handler.

SPAWN_NOT_ALLOWED 

Response sent when a user attempts to request a respawn on a spawn point for which the authority deems the user is not eligible to spawn on. Usually a game specific implementation, e.g. respawn timer and similar. See SCR_BaseRespawnHandler.CanRequestSpawn.

NOT_ALLOWED_TIMER 
NOT_ALLOWED_SPAWNPOINT_DISABLED 
NOT_ALLOWED_SPAWNING_DISABLED 
NOT_ALLOWED_VEHICLE_FULL 
NOT_ALLOWED_VEHICLE_MOVING 
NOT_ALLOWED_RADIO_VEHICLE_SPAWNING_DISABLED 
NOT_ALLOWED_SPAWNPOINT_OCCUPIED_BY_HOSTILE 
NOT_ALLOWED_SPAWNING_DISABLED_ENEMIES_NEARBY 
NOT_ALLOWED_SPAWNPOINT_DISABLED_OUT_OF_RESPAWNS 
NOT_ALLOWED_NOT_ENOUGH_SUPPLIES 
INVALID_PREFAB 

Prefab needs to meet certain conditions before it is spawned. This error is returned when it does not meet them. See SCR_BaseRespawnHandler.ValidatePrefab.

CANNOT_VALIDATE 

To spawn prefab a handler needs certain data (position, rotation, ...) Data can vary based on individual handlers, but each handler can verify its data and react accordingly. This error is returned when verification of input data fails. See SCR_BaseRespawnHandler.ValidateData

CANNOT_SPAWN 

And intenal error occured while spawning prefab. Entity was not spawned and therefore whole request is denied by the authority.

CANNOT_PREPARE 

After an entity is spawned, it can be further prepared by the server. That can be used for e.g. seating a character or spawning additional items to their inventory. This error is returned when preparation fails and the spawn is therefore deemed failure.

CANNOT_POSSES 

If attempting to posses an entity that is already possessed by a player, this result is returned.

CANNOT_ASSIGN 

After an entity is prepared, the server attempts to pass the ownership to the requesting player, including setting it as the controlled entity in the PlayerController. This error is returned when assignment of the newly spawned entity fails and therefore spawn is deemed failure.

INTERNAL_ERROR 

Some error occured that should have been handled in implementation!

UNKNOWN_ERROR 

This error should never occur. If it occurs, it most likely means that a fatal/unrecoverable issue has occured, but is not specified.

Definition at line 8 of file SCR_ESpawnResult.c.

Variable Documentation

◆ GetHandlerType

enum SCR_ESpawnResult GetHandlerType