2504{
2506
2508
2510
2512
2518
2519
2520
2526
2532
2534
2538
2539
2541 {
2543
2544
2545 RegisterNetSyncVariableInt( "m_SyncParts01" );
2546 RegisterNetSyncVariableInt( "m_SyncParts02" );
2547 RegisterNetSyncVariableInt( "m_SyncParts03" );
2548 RegisterNetSyncVariableInt( "m_InteractedPartId" );
2549 RegisterNetSyncVariableInt( "m_PerformedActionId" );
2550 RegisterNetSyncVariableBool( "m_HasBase" );
2551
2552
2554
2555 if (ConfigIsExisting("hybridAttachments"))
2556 {
2559 }
2560 if (ConfigIsExisting("mountables"))
2561 {
2564 }
2565
2567 }
2568
2570 {
2571 super.EEDelete(parent);
2572
2574 {
2575 areaDamage.Destroy();
2576 }
2577
2578 }
2579
2581 {
2582 return "disableBaseDamage";
2583 }
2584
2586 {
2587 return true;
2588 }
2589
2591 {
2592 return EInventoryIconVisibility.HIDE_VICINITY;
2593 }
2594
2596 {
2597 super.InitItemSounds();
2598
2602
2607 }
2608
2610 {
2611 return "putDown_FenceKit_SoundSet";
2612 }
2613
2615 {
2616 return "Shelter_Site_Build_Loop_SoundSet";
2617 }
2618
2619
2621 {
2623 {
2624 SetSynchDirty();
2625 }
2626 }
2627
2629 {
2631 super.OnVariablesSynchronized();
2632
2634 }
2635
2637 {
2638
2640
2641
2643
2644
2646 }
2647
2648
2650 {
2651
2652 int offset;
2653 int mask;
2654
2655 if ( part_id >= 1 && part_id <= 31 )
2656 {
2657 offset = part_id - 1;
2658 mask = 1 << offset;
2659
2661 }
2662 else if ( part_id >= 32 && part_id <= 62 )
2663 {
2664 offset = ( part_id % 32 );
2665 mask = 1 << offset;
2666
2668 }
2669 else if ( part_id >= 63 && part_id <= 93 )
2670 {
2671 offset = ( part_id % 63 );
2672 mask = 1 << offset;
2673
2675 }
2676 }
2677
2679 {
2680
2681 int offset;
2682 int mask;
2683
2684 if ( part_id >= 1 && part_id <= 31 )
2685 {
2686 offset = part_id - 1;
2687 mask = 1 << offset;
2688
2690 }
2691 else if ( part_id >= 32 && part_id <= 62 )
2692 {
2693 offset = ( part_id % 32 );
2694 mask = 1 << offset;
2695
2697 }
2698 else if ( part_id >= 63 && part_id <= 93 )
2699 {
2700 offset = ( part_id % 63 );
2701 mask = 1 << offset;
2702
2704 }
2705 }
2706
2708 {
2709
2710 int offset;
2711 int mask;
2712
2713 if ( part_id >= 1 && part_id <= 31 )
2714 {
2715 offset = part_id - 1;
2716 mask = 1 << offset;
2717
2719 {
2720 return true;
2721 }
2722 }
2723 else if ( part_id >= 32 && part_id <= 62 )
2724 {
2725 offset = ( part_id % 32 );
2726 mask = 1 << offset;
2727
2729 {
2730 return true;
2731 }
2732 }
2733 else if ( part_id >= 63 && part_id <= 93 )
2734 {
2735 offset = ( part_id % 63 );
2736 mask = 1 << offset;
2737
2739 {
2740 return true;
2741 }
2742 }
2743
2744 return false;
2745 }
2746
2748 {
2751 }
2752
2754 {
2755
2758 }
2759
2761 {
2763 {
2766
2767 switch( build_action_id )
2768 {
2772 }
2773 }
2774 }
2775
2776
2778 {
2780 bool is_base = part.
IsBase();
2783 if ( is_part_built_sync )
2784 {
2786 {
2790
2791 if (is_base)
2792 {
2795 }
2796 }
2797 }
2798 else
2799 {
2801 {
2805
2806 if (is_base)
2807 {
2810 }
2811 }
2812 }
2813
2814
2816 }
2817
2818
2820 {
2823
2824 for ( int i = 0; i < construction_parts.Count(); ++i )
2825 {
2826 string key = construction_parts.GetKey( i );
2829 }
2830
2831
2833 }
2834
2836 {
2839
2840 for ( int i = 0; i < construction_parts.Count(); ++i )
2841 {
2842 string key = construction_parts.GetKey( i );
2844
2845 if ( value.
GetId() ==
id )
2846 {
2847 return value;
2848 }
2849 }
2850
2851 return NULL;
2852 }
2853
2854
2855
2857 {
2859 }
2860
2862 {
2864 }
2865
2867 {
2868 return true;
2869 }
2870
2872 {
2873 return false;
2874 }
2875
2876
2878 {
2881 {
2883 }
2884
2885 return construction_kit;
2886 }
2887
2889 {
2892 {
2894 }
2895 }
2896
2898 {
2900 }
2901
2903 {
2904 return "";
2905 }
2906
2908 {
2911 }
2912
2913
2915 {
2918 }
2919
2920
2922 {
2923 super.OnStoreSave( ctx );
2924
2925
2929
2931 }
2932
2934 {
2935 if ( !super.OnStoreLoad( ctx, version ) )
2936 return false;
2937
2938
2939
2941 {
2943 return false;
2944 }
2946 {
2948 return false;
2949 }
2951 {
2953 return false;
2954 }
2955
2956
2958 {
2960 return false;
2961 }
2962
2963
2964 return true;
2965 }
2966
2968 {
2969 super.AfterStoreLoad();
2970
2972 {
2974 }
2975 }
2976
2978 {
2979
2981
2982
2985
2986
2988 }
2989
2991 {
2992 super.OnCreatePhysics();
2995 }
2996
2998 {
3000 return;
3001
3002 super.EEHealthLevelChanged(oldLevel,newLevel,zone);
3003
3005 return;
3006
3008 string part_name = zone;
3010
3012 {
3013 ConstructionPart construction_part = construction.GetConstructionPart( part_name );
3014
3015 if ( construction_part && construction.IsPartConstructed( part_name ) )
3016 {
3018 construction.DestroyConnectedParts(part_name);
3019 }
3020
3021
3022 if ( part_name.
Contains(
"barbed") )
3023 {
3024 BarbedWire barbed_wire = BarbedWire.Cast( FindAttachmentBySlotName( zone ) );
3025 if (barbed_wire)
3026 barbed_wire.SetMountedState( false );
3027 }
3028 }
3029 }
3030
3032 {
3034 {
3036 }
3037
3038 super.EEOnAfterLoad();
3039 }
3040
3042 {
3043 super.EEInit();
3044
3045
3047
3048
3049 #ifdef DEVELOPER
3051 #endif
3052 }
3053
3055 {
3056 super.EEItemAttached( item, slot_name );
3057
3061 }
3062
3064 {
3065 super.EEItemDetached( item, slot_name );
3066
3069 }
3070
3071 protected void OnSetSlotLock(
int slotId,
bool locked,
bool was_locked )
3072 {
3075
3078 }
3079
3080
3082 {
3083 return true;
3084 }
3085
3086
3087
3089 {
3091
3092
3093 if (construtionPart.
IsBase())
3094 {
3096
3097
3099 }
3100
3101
3103
3104
3106
3107
3109
3111
3113
3114
3116
3117
3119 }
3120
3122 {
3123
3125 }
3126
3127
3129 {
3132
3133
3135
3136
3138
3139
3141
3142
3144
3146
3147
3149
3150
3152
3153
3154 if (construtionPart.
IsBase())
3155 {
3156
3158 }
3159 }
3160
3162 {
3163
3165 }
3166
3167
3168 void OnPartDestroyedServer(Man player,
string part_name,
int action_id,
bool destroyed_by_connected_part =
false)
3169 {
3172
3173
3175
3176
3178
3179
3181
3182
3184
3186
3187
3189
3190
3192
3193
3194 if (construtionPart.
IsBase())
3195 {
3196
3198 }
3199 }
3200
3202 {
3203
3205 }
3206
3209 {
3210 bool process = false;
3211
3212
3216
3217 if (process)
3218 {
3219 if (!MemoryPointExists(part.
m_PartName +
"_min") || !MemoryPointExists(part.
m_PartName +
"_max"))
3220 {
3222 return;
3223 }
3224
3226 mins = ModelToWorld(GetMemoryPointPos(part.
m_PartName +
"_min"));
3227 maxs = ModelToWorld(GetMemoryPointPos(part.
m_PartName +
"_max"));
3228
3229
3231 minTmp[0] =
Math.
Min(mins[0],maxs[0]);
3232 maxTmp[0] =
Math.
Max(mins[0],maxs[0]);
3233 minTmp[1] =
Math.
Min(mins[1],maxs[1]);
3234 maxTmp[1] =
Math.
Max(mins[1],maxs[1]);
3235 minTmp[2] =
Math.
Min(mins[2],maxs[2]);
3236 maxTmp[2] =
Math.
Max(mins[2],maxs[2]);
3237 mins = minTmp;
3238 maxs = maxTmp;
3239
3240 maxs[1] = maxs[1] + 0.35;
3241
3243 }
3244 }
3245
3248 {
3251
3252
3254 foreach (
EntityAI entity : foundEntities)
3255 {
3258 }
3259 }
3260
3261
3263 {
3265
3269 }
3270
3272 {
3274
3276 {
3278 }
3279 else
3280 {
3282 }
3283
3285 }
3286
3288 {
3290
3292 foreach (
string slotName : attachmentSlots)
3293 {
3295 }
3296
3297
3300 else
3302
3304 }
3305
3307 {
3308 string slotNameMounted = slot_name + "_Mounted";
3309 EntityAI attachment = FindAttachmentBySlotName(slot_name);
3310
3311 if (attachment)
3312 {
3313 BarbedWire barbedWire = BarbedWire.Cast(attachment);
3314 if (barbedWire && barbedWire.IsMounted())
3316 else
3318
3319 if (is_locked)
3320 {
3321 SetAnimationPhase(slotNameMounted, 0);
3322 SetAnimationPhase(slot_name, 1);
3323 }
3324 else
3325 {
3326 SetAnimationPhase(slotNameMounted, 1);
3327 SetAnimationPhase(slot_name, 0);
3328 }
3329 }
3330 else
3331 {
3332 SetAnimationPhase(slotNameMounted, 1);
3333 SetAnimationPhase(slot_name, 1);
3334
3336 }
3337 }
3338
3339
3341 {
3344
3347
3350
3351 foreach (
string slotName : attachmentSlots)
3352 {
3354 }
3355
3356
3358 {
3361
3363 }
3364 else
3365 {
3368
3370 }
3371
3374 }
3375
3377 {
3378
3380 return;
3381
3382 string slot_name_mounted = slot_name + "_Mounted";
3383 EntityAI attachment = FindAttachmentBySlotName( slot_name );
3384
3385
3387 RemoveProxyPhysics( slot_name_mounted );
3388 RemoveProxyPhysics( slot_name );
3389
3390 if ( attachment )
3391 {
3393 if ( is_locked )
3394 {
3396 AddProxyPhysics( slot_name_mounted );
3397 }
3398 else
3399 {
3401 AddProxyPhysics( slot_name );
3402 }
3403 }
3404 }
3405
3407 {
3408 SetAffectPathgraph( true, false );
3410 }
3411
3413 {
3414 return true;
3415 }
3416
3418 {
3419 return true;
3420 }
3421
3423 {
3424 if ( attachment )
3425 {
3427 attachment.GetInventory().GetCurrentInventoryLocation( inventory_location );
3428
3429 return GetInventory().GetSlotLock( inventory_location.
GetSlot() );
3430 }
3431
3432 return false;
3433 }
3434
3436 {
3438 }
3439
3440
3442 {
3443 string config_path = "CfgVehicles" + " " + entity.GetType() + " " + "attachments";
3444 if (
GetGame().ConfigIsExisting( config_path ) )
3445 {
3447 }
3448 }
3449
3451 {
3452 return true;
3453 }
3454
3456 {
3457 return true;
3458 }
3459
3461 {
3462 return true;
3463 }
3464
3465
3467 {
3469 {
3471 }
3472
3474 }
3475
3477 {
3479 }
3480
3481
3482
3484 {
3485 return super.CanReceiveAttachment(attachment, slotId);
3486 }
3487
3489 {
3490 int attachment_count = GetInventory().AttachmentCount();
3491 if ( attachment_count > 0 )
3492 {
3493 if (
HasBase() && attachment_count == 1 )
3494 {
3495 return false;
3496 }
3497
3498 return true;
3499 }
3500
3501 return false;
3502 }
3503
3505 {
3506 return true;
3507 }
3508
3510 {
3511 return false;
3512 }
3513
3514
3516 {
3517 return false;
3518 }
3519
3521 {
3522 return false;
3523 }
3524
3525
3527 {
3528 return false;
3529 }
3530
3531
3532
3534 {
3535 return true;
3536 }
3537
3539 {
3540 return true;
3541 }
3542
3545 {
3546 return false;
3547 }
3548
3549
3551 {
3552 return true;
3553 }
3554
3555
3557 {
3558 return false;
3559 }
3560
3561
3563 {
3564 return true;
3565 }
3566
3567
3569 {
3570 if (
HasBase() || GetInventory().AttachmentCount() > 0 )
3571 {
3572 return false;
3573 }
3574
3575 return true;
3576 }
3577
3579 {
3582
3583 return item;
3584 }
3585
3586
3588 {
3590 {
3591
3593
3594
3597
3599 if ( MemoryPointExists( slot_name + "_min" ) )
3600 {
3601 min_max[0] = GetMemoryPointPos( slot_name + "_min" );
3602 }
3603 if ( MemoryPointExists( slot_name + "_max" ) )
3604 {
3605 min_max[1] = GetMemoryPointPos( slot_name + "_max" );
3606 }
3607
3608
3611
3612
3615 center = ModelToWorld( center );
3616
3617
3620
3621 areaDamage.SetExtents( extents[0], extents[1] );
3622 areaDamage.SetAreaPosition( center );
3623 areaDamage.SetAreaOrientation( orientation );
3626 areaDamage.SetHitZones( { "Torso","LeftHand","LeftLeg","LeftFoot","RightHand","RightLeg","RightFoot" } );
3627 areaDamage.SetAmmoName( "BarbedWireHit" );
3628 areaDamage.Spawn();
3629
3631 }
3632 }
3633
3635 {
3636 if ( angle_deg != 0 )
3637 {
3638
3639 orientation[0] = orientation[0] - angle_deg;
3640
3641
3643 if ( MemoryPointExists( "rotate_axis" ) )
3644 {
3645 rotate_axis = ModelToWorld( GetMemoryPointPos( "rotate_axis" ) );
3646 }
3647 float r_center_x = (
Math.
Cos( angle_deg *
Math.
DEG2RAD ) * ( center[0] - rotate_axis[0] ) ) - (
Math.
Sin( angle_deg *
Math.
DEG2RAD ) * ( center[2] - rotate_axis[2] ) ) + rotate_axis[0];
3648 float r_center_z = (
Math.
Sin( angle_deg *
Math.
DEG2RAD ) * ( center[0] - rotate_axis[0] ) ) + (
Math.
Cos( angle_deg *
Math.
DEG2RAD ) * ( center[2] - rotate_axis[2] ) ) + rotate_axis[2];
3649 center[0] = r_center_x;
3650 center[2] = r_center_z;
3651 }
3652 }
3653
3655 {
3657 {
3660 {
3661 if (areaDamage)
3662 {
3663 areaDamage.Destroy();
3664 }
3665
3667 }
3668 }
3669 }
3670
3672 {
3673 return true;
3674 }
3675
3676
3677
3678
3680 {
3682 }
3683
3685 {
3687 }
3688
3690 {
3692 }
3693
3695 {
3697
3698 switch ( material_type )
3699 {
3705 }
3706
3707 return "";
3708 }
3709
3711 {
3713
3714 switch ( material_type )
3715 {
3721 }
3722
3723 return "";
3724 }
3725
3726
3728 {
3730 {
3731
3733 {
3734 SetHealth(slot_name,"Health",item.GetHealth());
3735 }
3736 }
3737 }
3738
3740 {
3741 return 111;
3742 }
3743
3745 {
3746 super.SetActions();
3747
3751 }
3752
3753
3754
3755
3757 {
3758 }
3759
3762 {
3763 return null;
3764 }
3765
3767 {
3769 }
3770
3772 {
3775
3776 Man p;
3777
3778 #ifdef SERVER
3781 if (players.Count())
3782 p = players[0];
3783 #else
3785 #endif
3786
3788 {
3789 bool excluded = false;
3791 if (excludes)
3792 {
3793 foreach (string exclude : excludes)
3794 {
3796 {
3797 excluded = true;
3798 break;
3799 }
3800 }
3801 }
3802
3803 if (!excluded)
3804 {
3806 }
3807 }
3808
3810 }
3811}
3812
3814{
3815#ifdef BSB_DEBUG
3817#else
3818
3819#endif
3820}
3822{
3823#ifdef BSB_DEBUG_SPAM
3825#else
3826
3827#endif
3828}
const int AT_DISMANTLE_PART
const int AT_DESTROY_PART
void AddAction(typename actionName)
void RemoveAction(typename actionName)
void AreaDamageManager(EntityAI parent)
void OnPartDismantledClient(string part_name, int action_id)
const string ANIMATION_DEPLOYED
override int GetHideIconMask()
override void OnStoreSave(ParamsWriteContext ctx)
void SetActionFromSyncData()
bool CheckMemoryPointVerticalDistance(float max_dist, string selection, PlayerBase player)
override void OnDebugSpawn()
array< string > OnDebugSpawnBuildExcludes()
Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare.
void SoundDestroyStart(string part_name)
const string SOUND_BUILD_WOOD_LOG
void SoundBuildStart(string part_name)
void UpdateAttachmentVisuals(string slot_name, bool is_locked)
void CalcDamageAreaRotation(float angle_deg, out vector center, out vector orientation)
override bool CanObstruct()
bool HasAttachmentsBesidesBase()
override void InitItemSounds()
void RegisterPartForSync(int part_id)
const string SOUND_DISMANTLE_METAL
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
void SetPartsAfterStoreLoad()
void DestroyConstruction()
ref array< string > m_HybridAttachments
override string GetFoldSoundset()
string GetDismantleSoundByMaterial(string part_name)
bool IsAttachmentSlotLocked(EntityAI attachment)
override bool IsFacingPlayer(PlayerBase player, string selection)
void OnPartBuiltClient(string part_name, int action_id)
bool HasProperDistance(string selection, PlayerBase player)
override void OnCreatePhysics()
void OnPartBuiltServer(notnull Man player, string part_name, int action_id)
void RegisterActionForSync(int part_id, int action_id)
const string SOUND_BUILD_WOOD_PLANK
void SetPartsFromSyncData()
ref array< string > m_Mountables
const string SOUND_BUILD_WIRE
void ResetActionSyncData()
override string GetInvulnerabilityTypeString()
void OnPartDismantledServer(notnull Man player, string part_name, int action_id)
void CheckForHybridAttachments(EntityAI item, string slot_name)
override void EEOnAfterLoad()
override void EEItemDetached(EntityAI item, string slot_name)
vector GetKitSpawnPosition()
ref Construction m_Construction
bool IsFacingCamera(string selection)
bool CheckSlotVerticalDistance(int slot_id, PlayerBase player)
void GetAttachmentSlots(EntityAI entity, out array< string > attachment_slots)
override bool IsDeployable()
void OnPartDestroyedClient(string part_name, int action_id)
void UnregisterPartForSync(int part_id)
void bsbDebugSpam(string s)
override void OnVariablesSynchronized()
bool PerformRoofCheckForBase(string partName, PlayerBase player, out bool result)
Construction GetConstruction()
void SoundDismantleStart(string part_name)
ConstructionPart GetConstructionPartById(int id)
string GetConstructionKitType()
bool CheckLevelVerticalDistance(float max_dist, string selection, PlayerBase player)
void OnPartDestroyedServer(Man player, string part_name, int action_id, bool destroyed_by_connected_part=false)
bool CanFoldBaseBuildingObject()
override int GetDamageSystemVersionChange()
const string SOUND_DISMANTLE_WOOD_PLANK
override void EEItemAttached(EntityAI item, string slot_name)
const string SOUND_DISMANTLE_WOOD_LOG
class BaseBuildingBase extends ItemBase bsbDebugPrint(string s)
const string SOUND_BUILD_WOOD_STAIRS
ItemBase FoldBaseBuildingObject()
override bool CanPutInCargo(EntityAI parent)
override bool CanUseConstruction()
override void AfterStoreLoad()
void SetPartFromSyncData(ConstructionPart part)
override void EEHealthLevelChanged(int oldLevel, int newLevel, string zone)
override bool IgnoreOutOfReachCondition()
override bool OnStoreLoad(ParamsReadContext ctx, int version)
override bool ShowZonesHealth()
void UpdateAttachmentPhysics(string slot_name, bool is_locked)
override bool IsPlayerInside(PlayerBase player, string selection)
string GetBuildSoundByMaterial(string part_name)
ItemBase CreateConstructionKit()
const string SOUND_DISMANTLE_WIRE
bool MustBeBuiltFromOutside()
Some buildings can only be built from outside.
override bool IsTakeable()
float m_ConstructionKitHealth
override void EEDelete(EntityAI parent)
override void SetActions()
void HandleItemFalling(ConstructionPart part)
Disconnected temporarily.
void DestroyConstructionKit(ItemBase construction_kit)
void CreateConstructionKitInHands(notnull PlayerBase player)
void ItemFall(vector min, vector max)
Disconnected temporarily.
override bool CanUseConstructionBuild()
void OnSynchronizedClient()
void SynchronizeBaseState()
override bool IsIgnoredByConstruction()
ref map< string, ref AreaDamageManager > m_DamageTriggers
void SetBaseState(bool has_base)
const string SOUND_BUILD_METAL
override string GetLoopFoldSoundset()
void OnSetSlotLock(int slotId, bool locked, bool was_locked)
override bool CanPutIntoHands(EntityAI parent)
bool IsPartBuildInSyncData(int part_id)
override bool CanRemoveFromCargo(EntityAI parent)
const string SOUND_DISMANTLE_WOOD_STAIRS
const int ECE_PLACE_ON_SURFACE
PlayerSpawnPreset slotName
void Construction(BaseBuildingBase parent)
void DayZPlayerUtils()
cannot be instantiated
string GetLoopFoldSoundset()
ItemSoundHandler GetItemSoundHandler()
bool m_FixDamageSystemInit
void ItemSoundHandler(ItemBase parent)
override void SetLoopInterval(float time)
A particular version of the deferred loop used to not damage players inside vehicles.
override void SetDeferDuration(float time)
proto native World GetWorld()
override ScriptCallQueue GetCallQueue(int call_category)
proto native void ConfigGetTextArray(string path, out TStringArray values)
Get array of strings from config on path.
proto native DayZPlayer GetPlayer()
proto native void ObjectDelete(Object obj)
Super root of all classes in Enforce script.
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Wrapper class for managing sound through SEffectManager.
proto native int GetSlot()
returns slot id if current type is Attachment
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id
static proto native owned string GetSlotName(int id)
converts slot_id to string
provides access to slot configuration
override bool CanUseConstruction()
static bool IsBaseBuildingLogEnable()
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto bool Write(void value_out)
proto bool Read(void value_in)
proto native void GetPlayerList(out array< Man > players)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
override string GetDebugName()
Serializer ParamsReadContext
proto native CGame GetGame()
Serializer ParamsWriteContext
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static proto float Max(float x, float y)
Returns bigger of two given values.
static proto float Min(float x, float y)
Returns smaller of two given values.
static proto float Cos(float angle)
Returns cosinus of angle in radians.
static proto float Sin(float angle)
Returns sinus of angle in radians.
static const float DEG2RAD
class JsonUndergroundAreaTriggerData GetPosition
bool Contains(string sample)
Returns true if sample is substring of string.
proto int ToLower()
Changes string to lowercase. Returns length.