1645{
1647
1649
1651
1653
1659
1660
1661
1667
1673
1675
1679
1680
1682 {
1684
1685
1686 RegisterNetSyncVariableInt( "m_SyncParts01" );
1687 RegisterNetSyncVariableInt( "m_SyncParts02" );
1688 RegisterNetSyncVariableInt( "m_SyncParts03" );
1689 RegisterNetSyncVariableInt( "m_InteractedPartId" );
1690 RegisterNetSyncVariableInt( "m_PerformedActionId" );
1691 RegisterNetSyncVariableBool( "m_HasBase" );
1692
1693
1695
1696 if (ConfigIsExisting("hybridAttachments"))
1697 {
1700 }
1701 if (ConfigIsExisting("mountables"))
1702 {
1705 }
1706
1708 }
1709
1711 {
1712 super.EEDelete(parent);
1713
1715 {
1716 areaDamage.Destroy();
1717 }
1718
1719 }
1720
1722 {
1723 return "disableBaseDamage";
1724 }
1725
1727 {
1728 return true;
1729 }
1730
1732 {
1733 return EInventoryIconVisibility.HIDE_VICINITY;
1734 }
1735
1737 {
1738 super.InitItemSounds();
1739
1743
1748 }
1749
1751 {
1752 return "putDown_FenceKit_SoundSet";
1753 }
1754
1756 {
1757 return "Shelter_Site_Build_Loop_SoundSet";
1758 }
1759
1760
1762 {
1764 {
1765 SetSynchDirty();
1766 }
1767 }
1768
1770 {
1772 super.OnVariablesSynchronized();
1773
1775 }
1776
1778 {
1779
1781
1782
1784
1785
1787 }
1788
1789
1791 {
1792
1793 int offset;
1794 int mask;
1795
1796 if ( part_id >= 1 && part_id <= 31 )
1797 {
1798 offset = part_id - 1;
1799 mask = 1 << offset;
1800
1802 }
1803 else if ( part_id >= 32 && part_id <= 62 )
1804 {
1805 offset = ( part_id % 32 );
1806 mask = 1 << offset;
1807
1809 }
1810 else if ( part_id >= 63 && part_id <= 93 )
1811 {
1812 offset = ( part_id % 63 );
1813 mask = 1 << offset;
1814
1816 }
1817 }
1818
1820 {
1821
1822 int offset;
1823 int mask;
1824
1825 if ( part_id >= 1 && part_id <= 31 )
1826 {
1827 offset = part_id - 1;
1828 mask = 1 << offset;
1829
1831 }
1832 else if ( part_id >= 32 && part_id <= 62 )
1833 {
1834 offset = ( part_id % 32 );
1835 mask = 1 << offset;
1836
1838 }
1839 else if ( part_id >= 63 && part_id <= 93 )
1840 {
1841 offset = ( part_id % 63 );
1842 mask = 1 << offset;
1843
1845 }
1846 }
1847
1849 {
1850
1851 int offset;
1852 int mask;
1853
1854 if ( part_id >= 1 && part_id <= 31 )
1855 {
1856 offset = part_id - 1;
1857 mask = 1 << offset;
1858
1860 {
1861 return true;
1862 }
1863 }
1864 else if ( part_id >= 32 && part_id <= 62 )
1865 {
1866 offset = ( part_id % 32 );
1867 mask = 1 << offset;
1868
1870 {
1871 return true;
1872 }
1873 }
1874 else if ( part_id >= 63 && part_id <= 93 )
1875 {
1876 offset = ( part_id % 63 );
1877 mask = 1 << offset;
1878
1880 {
1881 return true;
1882 }
1883 }
1884
1885 return false;
1886 }
1887
1889 {
1892 }
1893
1895 {
1896
1899 }
1900
1902 {
1904 {
1907
1908 switch( build_action_id )
1909 {
1913 }
1914 }
1915 }
1916
1917
1919 {
1921 bool is_base = part.
IsBase();
1924 if ( is_part_built_sync )
1925 {
1927 {
1931
1932 if (is_base)
1933 {
1936 }
1937 }
1938 }
1939 else
1940 {
1942 {
1946
1947 if (is_base)
1948 {
1951 }
1952 }
1953 }
1954
1955
1957 }
1958
1959
1961 {
1964
1965 for ( int i = 0; i < construction_parts.Count(); ++i )
1966 {
1967 string key = construction_parts.GetKey( i );
1970 }
1971
1972
1974 }
1975
1977 {
1980
1981 for ( int i = 0; i < construction_parts.Count(); ++i )
1982 {
1983 string key = construction_parts.GetKey( i );
1985
1986 if ( value.
GetId() ==
id )
1987 {
1988 return value;
1989 }
1990 }
1991
1992 return NULL;
1993 }
1994
1995
1996
1998 {
2000 }
2001
2003 {
2005 }
2006
2008 {
2009 return true;
2010 }
2011
2013 {
2014 return false;
2015 }
2016
2017
2019 {
2022 {
2024 }
2025
2026 return construction_kit;
2027 }
2028
2030 {
2033 {
2035 }
2036 }
2037
2039 {
2041 }
2042
2044 {
2045 return "";
2046 }
2047
2049 {
2052 }
2053
2054
2056 {
2059 }
2060
2061
2063 {
2064 super.OnStoreSave( ctx );
2065
2066
2070
2072 }
2073
2075 {
2076 if ( !super.OnStoreLoad( ctx, version ) )
2077 return false;
2078
2079
2080
2082 {
2084 return false;
2085 }
2087 {
2089 return false;
2090 }
2092 {
2094 return false;
2095 }
2096
2097
2099 {
2101 return false;
2102 }
2103
2104
2105 return true;
2106 }
2107
2109 {
2110 super.AfterStoreLoad();
2111
2113 {
2115 }
2116 }
2117
2119 {
2120
2122
2123
2126
2127
2129 }
2130
2132 {
2133 super.OnCreatePhysics();
2136 }
2137
2139 {
2141 return;
2142
2143 super.EEHealthLevelChanged(oldLevel,newLevel,zone);
2144
2146 return;
2147
2149 string part_name = zone;
2151
2153 {
2154 ConstructionPart construction_part = construction.GetConstructionPart( part_name );
2155
2156 if ( construction_part && construction.IsPartConstructed( part_name ) )
2157 {
2159 construction.DestroyConnectedParts(part_name);
2160 }
2161
2162
2163 if ( part_name.
Contains(
"barbed") )
2164 {
2165 BarbedWire barbed_wire = BarbedWire.Cast( FindAttachmentBySlotName( zone ) );
2166 if (barbed_wire)
2167 barbed_wire.SetMountedState( false );
2168 }
2169 }
2170 }
2171
2173 {
2175 {
2177 }
2178
2179 super.EEOnAfterLoad();
2180 }
2181
2183 {
2184 super.EEInit();
2185
2186
2188
2189
2190 #ifdef DEVELOPER
2192 #endif
2193 }
2194
2196 {
2197 super.EEItemAttached( item, slot_name );
2198
2202 }
2203
2205 {
2206 super.EEItemDetached( item, slot_name );
2207
2210 }
2211
2212 protected void OnSetSlotLock(
int slotId,
bool locked,
bool was_locked )
2213 {
2216
2219 }
2220
2221
2223 {
2224 return true;
2225 }
2226
2227
2228
2230 {
2232
2233
2234 if (construtionPart.
IsBase())
2235 {
2237
2238
2240 }
2241
2242
2244
2245
2247
2248
2250
2252
2254
2255
2257
2258
2260 }
2261
2263 {
2264
2266 }
2267
2268
2270 {
2273
2274
2276
2277
2279
2280
2282
2283
2285
2287
2288
2290
2291
2293
2294
2295 if (construtionPart.
IsBase())
2296 {
2297
2299 }
2300 }
2301
2303 {
2304
2306 }
2307
2308
2309 void OnPartDestroyedServer(Man player,
string part_name,
int action_id,
bool destroyed_by_connected_part =
false)
2310 {
2313
2314
2316
2317
2319
2320
2322
2323
2325
2327
2328
2330
2331
2333
2334
2335 if (construtionPart.
IsBase())
2336 {
2337
2339 }
2340 }
2341
2343 {
2344
2346 }
2347
2350 {
2351 bool process = false;
2352
2353
2357
2358 if (process)
2359 {
2360 if (!MemoryPointExists(part.
m_PartName +
"_min") || !MemoryPointExists(part.
m_PartName +
"_max"))
2361 {
2363 return;
2364 }
2365
2367 mins = ModelToWorld(GetMemoryPointPos(part.
m_PartName +
"_min"));
2368 maxs = ModelToWorld(GetMemoryPointPos(part.
m_PartName +
"_max"));
2369
2370
2372 minTmp[0] =
Math.
Min(mins[0],maxs[0]);
2373 maxTmp[0] =
Math.
Max(mins[0],maxs[0]);
2374 minTmp[1] =
Math.
Min(mins[1],maxs[1]);
2375 maxTmp[1] =
Math.
Max(mins[1],maxs[1]);
2376 minTmp[2] =
Math.
Min(mins[2],maxs[2]);
2377 maxTmp[2] =
Math.
Max(mins[2],maxs[2]);
2378 mins = minTmp;
2379 maxs = maxTmp;
2380
2381 maxs[1] = maxs[1] + 0.35;
2382
2384 }
2385 }
2386
2389 {
2392
2393
2395 foreach (
EntityAI entity : foundEntities)
2396 {
2399 }
2400 }
2401
2402
2404 {
2406
2410 }
2411
2413 {
2415
2417 {
2419 }
2420 else
2421 {
2423 }
2424
2426 }
2427
2429 {
2431
2433 foreach (
string slotName : attachmentSlots)
2434 {
2436 }
2437
2438
2441 else
2443
2445 }
2446
2448 {
2449 string slotNameMounted = slot_name + "_Mounted";
2450 EntityAI attachment = FindAttachmentBySlotName(slot_name);
2451
2452 if (attachment)
2453 {
2454 BarbedWire barbedWire = BarbedWire.Cast(attachment);
2455 if (barbedWire && barbedWire.IsMounted())
2457 else
2459
2460 if (is_locked)
2461 {
2462 SetAnimationPhase(slotNameMounted, 0);
2463 SetAnimationPhase(slot_name, 1);
2464 }
2465 else
2466 {
2467 SetAnimationPhase(slotNameMounted, 1);
2468 SetAnimationPhase(slot_name, 0);
2469 }
2470 }
2471 else
2472 {
2473 SetAnimationPhase(slotNameMounted, 1);
2474 SetAnimationPhase(slot_name, 1);
2475
2477 }
2478 }
2479
2480
2482 {
2485
2488
2491
2492 foreach (
string slotName : attachmentSlots)
2493 {
2495 }
2496
2497
2499 {
2502
2504 }
2505 else
2506 {
2509
2511 }
2512
2515 }
2516
2518 {
2519
2521 return;
2522
2523 string slot_name_mounted = slot_name + "_Mounted";
2524 EntityAI attachment = FindAttachmentBySlotName( slot_name );
2525
2526
2528 RemoveProxyPhysics( slot_name_mounted );
2529 RemoveProxyPhysics( slot_name );
2530
2531 if ( attachment )
2532 {
2534 if ( is_locked )
2535 {
2537 AddProxyPhysics( slot_name_mounted );
2538 }
2539 else
2540 {
2542 AddProxyPhysics( slot_name );
2543 }
2544 }
2545 }
2546
2548 {
2549 SetAffectPathgraph( true, false );
2551 }
2552
2554 {
2555 return true;
2556 }
2557
2559 {
2560 return true;
2561 }
2562
2564 {
2565 if ( attachment )
2566 {
2568 attachment.GetInventory().GetCurrentInventoryLocation( inventory_location );
2569
2570 return GetInventory().GetSlotLock( inventory_location.
GetSlot() );
2571 }
2572
2573 return false;
2574 }
2575
2577 {
2579 }
2580
2581
2583 {
2584 string config_path = "CfgVehicles" + " " + entity.GetType() + " " + "attachments";
2585 if (
GetGame().ConfigIsExisting( config_path ) )
2586 {
2588 }
2589 }
2590
2592 {
2593 return true;
2594 }
2595
2597 {
2598 return true;
2599 }
2600
2602 {
2603 return true;
2604 }
2605
2606
2608 {
2610 {
2612 }
2613
2615 }
2616
2618 {
2620 }
2621
2622
2623
2625 {
2626 return super.CanReceiveAttachment(attachment, slotId);
2627 }
2628
2630 {
2631 int attachment_count = GetInventory().AttachmentCount();
2632 if ( attachment_count > 0 )
2633 {
2634 if (
HasBase() && attachment_count == 1 )
2635 {
2636 return false;
2637 }
2638
2639 return true;
2640 }
2641
2642 return false;
2643 }
2644
2646 {
2647 return true;
2648 }
2649
2651 {
2652 return false;
2653 }
2654
2655
2657 {
2658 return false;
2659 }
2660
2662 {
2663 return false;
2664 }
2665
2666
2668 {
2669 return false;
2670 }
2671
2672
2673
2675 {
2676 return true;
2677 }
2678
2680 {
2681 return true;
2682 }
2683
2686 {
2687 return false;
2688 }
2689
2690
2692 {
2693 return true;
2694 }
2695
2696
2698 {
2699 return false;
2700 }
2701
2702
2704 {
2705 return true;
2706 }
2707
2708
2710 {
2711 if (
HasBase() || GetInventory().AttachmentCount() > 0 )
2712 {
2713 return false;
2714 }
2715
2716 return true;
2717 }
2718
2720 {
2723
2724 return item;
2725 }
2726
2727
2729 {
2731 {
2732
2734
2735
2738
2740 if ( MemoryPointExists( slot_name + "_min" ) )
2741 {
2742 min_max[0] = GetMemoryPointPos( slot_name + "_min" );
2743 }
2744 if ( MemoryPointExists( slot_name + "_max" ) )
2745 {
2746 min_max[1] = GetMemoryPointPos( slot_name + "_max" );
2747 }
2748
2749
2752
2753
2756 center = ModelToWorld( center );
2757
2758
2761
2762 areaDamage.SetExtents( extents[0], extents[1] );
2763 areaDamage.SetAreaPosition( center );
2764 areaDamage.SetAreaOrientation( orientation );
2767 areaDamage.SetHitZones( { "Torso","LeftHand","LeftLeg","LeftFoot","RightHand","RightLeg","RightFoot" } );
2768 areaDamage.SetAmmoName( "BarbedWireHit" );
2769 areaDamage.Spawn();
2770
2772 }
2773 }
2774
2776 {
2777 if ( angle_deg != 0 )
2778 {
2779
2780 orientation[0] = orientation[0] - angle_deg;
2781
2782
2784 if ( MemoryPointExists( "rotate_axis" ) )
2785 {
2786 rotate_axis = ModelToWorld( GetMemoryPointPos( "rotate_axis" ) );
2787 }
2788 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];
2789 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];
2790 center[0] = r_center_x;
2791 center[2] = r_center_z;
2792 }
2793 }
2794
2796 {
2798 {
2801 {
2802 if (areaDamage)
2803 {
2804 areaDamage.Destroy();
2805 }
2806
2808 }
2809 }
2810 }
2811
2813 {
2814 return true;
2815 }
2816
2817
2818
2819
2821 {
2823 }
2824
2826 {
2828 }
2829
2831 {
2833 }
2834
2836 {
2838
2839 switch ( material_type )
2840 {
2846 }
2847
2848 return "";
2849 }
2850
2852 {
2854
2855 switch ( material_type )
2856 {
2862 }
2863
2864 return "";
2865 }
2866
2867
2869 {
2871 {
2872
2874 {
2875 SetHealth(slot_name,"Health",item.GetHealth());
2876 }
2877 }
2878 }
2879
2881 {
2882 return 111;
2883 }
2884
2886 {
2887 super.SetActions();
2888
2892 }
2893
2894
2895
2896
2898 {
2899 }
2900
2903 {
2904 return null;
2905 }
2906
2908 {
2910 }
2911
2913 {
2916
2917 Man p;
2918
2919 #ifdef SERVER
2922 if (players.Count())
2923 p = players[0];
2924 #else
2926 #endif
2927
2929 {
2930 bool excluded = false;
2932 if (excludes)
2933 {
2934 foreach (string exclude : excludes)
2935 {
2937 {
2938 excluded = true;
2939 break;
2940 }
2941 }
2942 }
2943
2944 if (!excluded)
2945 {
2947 }
2948 }
2949
2951 }
2952}
2953
2955{
2956#ifdef BSB_DEBUG
2958#else
2959
2960#endif
2961}
2963{
2964#ifdef BSB_DEBUG_SPAM
2966#else
2967
2968#endif
2969}
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.