Data Structures | |
class | bool |
class | func |
class | float |
class | vector |
class | typename |
class | EnumTools |
Enumerations | |
enum | EBool { NO = 0 , YES = 1 } |
Functions | |
proto string | ToString () |
proto string | AsciiToString () |
Converts ASCII code to string. | |
string | ToStringLen (int len) |
Integer to string with fixed length, padded with zeroes. | |
bool | InRange (int min, int max, bool inclusive_min=true, bool inclusive_max=true) |
Check whether integer falls into an inclusive range. | |
Variables | |
enum EBool | ZERO_PAD_SIZE = 8 |
static protected string | m_ZeroPad [ZERO_PAD_SIZE] = {"", "0", "00", "000", "0000", "00000", "000000", "0000000"} |
const int | MAX = 2147483647 |
const int | MIN = -2147483648 |
enum EBool |
proto string AsciiToString | ( | ) |
Check whether integer falls into an inclusive range.
min | int low end of range |
max | int high end of range |
bool
True if this value is withing the set range proto string ToString | ( | ) |
Referenced by HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Abort(), DimmingConfig::AddDimmingPattern(), RecipeBase::ApplyModificationsResults(), EmoteConstructor::ConstructEmotes(), AnimatedActionBase::Do(), AnimatedActionBase::End(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::FindAbortDestinationState(), ForceSwapEntities(), ScriptedWidgetEventHandler::GenerateQuickBarBackgroundTiles(), UnconsciousnessMdfr::GetDebugText(), CharcoalMdfr::GetDebugTextSimple(), KeysToUIElements::GetKeyToUIElement(), GetRPCDataImmediate(), LogTemplates::GetTemplate(), HandleForceSwapEntities(), HandleHandEvent(), HandleSwapEntities(), HandleTakeToDst(), ActionInput::Init(), ActionBaseCB::Interrupt(), MissionBase::InvokeOnConnect(), MissionBase::InvokeOnDisconnect(), InvokeSendRPC(), Component::LogErrorBadCompType(), BotStateBase::OnAbort(), HandStateBase::OnAbort(), Entity::OnAction(), OnActionEnd(), ScriptConsoleGeneralTab::OnClick(), ManBase::OnConnect(), ManBase::OnDisconnect(), BotStateBase::OnEntry(), HandStateBase::OnEntry(), OnErrorThrown(), BotStateBase::OnExit(), ActionBaseCB::OnFinish(), SymptomBase::OnGetActivatedClient(), LaughterSymptom::OnGetActivatedClient(), SymptomBase::OnGetActivatedServer(), LaughterSymptom::OnGetActivatedServer(), SymptomBase::OnGetDeactivatedClient(), LaughterSymptom::OnGetDeactivatedClient(), SymptomBase::OnGetDeactivatedServer(), LaughterSymptom::OnGetDeactivatedServer(), UIPopupScript::OnOpen(), Icon::OnPerformRecipe(), Land_WarheadStorage_Main::OnPowerOnClient(), ManBase::OnReconnect(), UIPopupScript::OnUpdate(), OnUpdateClient(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessAbortEvent(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessAbortEvent(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessEvent(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessEvent(), KeysToUIElements::RegisterKeyToUIElement(), LogTemplates::RegisterLogTamplate(), ScriptedWidgetEventHandler::Remove(), SVNBlamePlugin::Run(), ManBase::Save(), SendRPC(), ActionInput::SetInput(), ScriptedWidgetEventHandler::SetInterpTime(), SlotsIcon::SetItemSize(), DebugMonitor::SetPosition(), SetTextSmart(), ScriptedWidgetEventHandler::SetTimeBefore(), ScriptedWidgetEventHandler::Show(), RecipeBase::SpawnItems(), OFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), FSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), StoreInputForRemotes(), SwapEntities(), TakeToDst(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Terminate(), ComponentEnergyManager::UnplugCordFromSocket(), ScriptConsoleGeneralTab::Update(), Land_WarheadStorage_Main::UpdateDoorStateClient(), ServerBrowserTab::UpdatePageButtons(), Container::UpdateRowVisibility(), ComponentEnergyManager::UpdateSelections(), ComponentEnergyManager::UpdateSocketSelections(), ValidateDestroy(), EffectSound::ValidateSoundWave(), ValidateSwap(), and ValidateSyncMove().
Integer to string with fixed length, padded with zeroes.
num | int integer to convert |
len | int fixed length |
vector
Converted s as vector References string::Length(), m_ZeroPad, string::ToString(), and ZERO_PAD_SIZE.
Referenced by ItemBase::GetSlotPosition(), ItemBase::RemoveSlot(), ItemBase::SetSlotTextureDigged(), ItemBase::SetSlotTextureFertilized(), UpdatePlant(), and ItemBase::UpdateSlotTexture().
|
static |
Referenced by ToStringLen().
const int MAX = 2147483647 |
Referenced by InfluenzaAgent::AutoinfectCheck(), RecipeBase::CanDo(), RecipeBase::Do(), RemotelyActivatedItemBehaviour::GeneratePersistentID(), GetMeleeTargetEx(), CatchingContextFishingRodAction::InitCatchingItemData(), Entity::InitItemVariables(), Grenade_Base::OnExplosionEffects(), InventoryItem::OnStoreLoad(), PlayerAgentPool::SetTemporaryResistance(), and SnapOnObject().
const int MIN = -2147483648 |
enum EBool ZERO_PAD_SIZE = 8 |
Referenced by ToStringLen().