Disconnected temporarily.
2018{
2020
2022
2024
2026
2032
2033
2034
2040
2046
2048
2052
2053
2055 {
2057
2058
2059 RegisterNetSyncVariableInt( "m_SyncParts01" );
2060 RegisterNetSyncVariableInt( "m_SyncParts02" );
2061 RegisterNetSyncVariableInt( "m_SyncParts03" );
2062 RegisterNetSyncVariableInt( "m_InteractedPartId" );
2063 RegisterNetSyncVariableInt( "m_PerformedActionId" );
2064 RegisterNetSyncVariableBool( "m_HasBase" );
2065
2066
2068
2069 if (ConfigIsExisting("hybridAttachments"))
2070 {
2073 }
2074 if (ConfigIsExisting("mountables"))
2075 {
2078 }
2079
2081 }
2082
2084 {
2085 super.EEDelete(parent);
2086
2088 {
2089 areaDamage.Destroy();
2090 }
2091
2092 }
2093
2095 {
2096 return "disableBaseDamage";
2097 }
2098
2100 {
2101 return true;
2102 }
2103
2105 {
2106 return EInventoryIconVisibility.HIDE_VICINITY;
2107 }
2108
2110 {
2111 super.InitItemSounds();
2112
2116
2121 }
2122
2124 {
2125 return "putDown_FenceKit_SoundSet";
2126 }
2127
2129 {
2130 return "Shelter_Site_Build_Loop_SoundSet";
2131 }
2132
2133
2135 {
2137 {
2138 SetSynchDirty();
2139 }
2140 }
2141
2143 {
2145 super.OnVariablesSynchronized();
2146
2148 }
2149
2151 {
2152
2154
2155
2157
2158
2160 }
2161
2162
2164 {
2165
2166 int offset;
2167 int mask;
2168
2169 if ( part_id >= 1 && part_id <= 31 )
2170 {
2171 offset = part_id - 1;
2172 mask = 1 << offset;
2173
2175 }
2176 else if ( part_id >= 32 && part_id <= 62 )
2177 {
2178 offset = ( part_id % 32 );
2179 mask = 1 << offset;
2180
2182 }
2183 else if ( part_id >= 63 && part_id <= 93 )
2184 {
2185 offset = ( part_id % 63 );
2186 mask = 1 << offset;
2187
2189 }
2190 }
2191
2193 {
2194
2195 int offset;
2196 int mask;
2197
2198 if ( part_id >= 1 && part_id <= 31 )
2199 {
2200 offset = part_id - 1;
2201 mask = 1 << offset;
2202
2204 }
2205 else if ( part_id >= 32 && part_id <= 62 )
2206 {
2207 offset = ( part_id % 32 );
2208 mask = 1 << offset;
2209
2211 }
2212 else if ( part_id >= 63 && part_id <= 93 )
2213 {
2214 offset = ( part_id % 63 );
2215 mask = 1 << offset;
2216
2218 }
2219 }
2220
2222 {
2223
2224 int offset;
2225 int mask;
2226
2227 if ( part_id >= 1 && part_id <= 31 )
2228 {
2229 offset = part_id - 1;
2230 mask = 1 << offset;
2231
2233 {
2234 return true;
2235 }
2236 }
2237 else if ( part_id >= 32 && part_id <= 62 )
2238 {
2239 offset = ( part_id % 32 );
2240 mask = 1 << offset;
2241
2243 {
2244 return true;
2245 }
2246 }
2247 else if ( part_id >= 63 && part_id <= 93 )
2248 {
2249 offset = ( part_id % 63 );
2250 mask = 1 << offset;
2251
2253 {
2254 return true;
2255 }
2256 }
2257
2258 return false;
2259 }
2260
2262 {
2265 }
2266
2268 {
2269
2272 }
2273
2275 {
2277 {
2280
2281 switch( build_action_id )
2282 {
2286 }
2287 }
2288 }
2289
2290
2292 {
2294 bool is_base = part.
IsBase();
2297 if ( is_part_built_sync )
2298 {
2300 {
2304
2305 if (is_base)
2306 {
2309 }
2310 }
2311 }
2312 else
2313 {
2315 {
2319
2320 if (is_base)
2321 {
2324 }
2325 }
2326 }
2327
2328
2330 }
2331
2332
2334 {
2337
2338 for ( int i = 0; i < construction_parts.Count(); ++i )
2339 {
2340 string key = construction_parts.GetKey( i );
2343 }
2344
2345
2347 }
2348
2350 {
2353
2354 for ( int i = 0; i < construction_parts.Count(); ++i )
2355 {
2356 string key = construction_parts.GetKey( i );
2358
2359 if ( value.
GetId() ==
id )
2360 {
2361 return value;
2362 }
2363 }
2364
2365 return NULL;
2366 }
2367
2368
2369
2371 {
2373 }
2374
2376 {
2378 }
2379
2381 {
2382 return true;
2383 }
2384
2386 {
2387 return false;
2388 }
2389
2390
2392 {
2395 {
2397 }
2398
2399 return construction_kit;
2400 }
2401
2403 {
2406 {
2408 }
2409 }
2410
2412 {
2414 }
2415
2417 {
2418 return "";
2419 }
2420
2422 {
2425 }
2426
2427
2429 {
2432 }
2433
2434
2436 {
2437 super.OnStoreSave( ctx );
2438
2439
2443
2445 }
2446
2448 {
2449 if ( !super.OnStoreLoad( ctx, version ) )
2450 return false;
2451
2452
2453
2455 {
2457 return false;
2458 }
2460 {
2462 return false;
2463 }
2465 {
2467 return false;
2468 }
2469
2470
2472 {
2474 return false;
2475 }
2476
2477
2478 return true;
2479 }
2480
2482 {
2483 super.AfterStoreLoad();
2484
2486 {
2488 }
2489 }
2490
2492 {
2493
2495
2496
2499
2500
2502 }
2503
2505 {
2506 super.OnCreatePhysics();
2509 }
2510
2512 {
2514 return;
2515
2516 super.EEHealthLevelChanged(oldLevel,newLevel,zone);
2517
2519 return;
2520
2522 string part_name = zone;
2524
2526 {
2527 ConstructionPart construction_part = construction.GetConstructionPart( part_name );
2528
2529 if ( construction_part && construction.IsPartConstructed( part_name ) )
2530 {
2532 construction.DestroyConnectedParts(part_name);
2533 }
2534
2535
2536 if ( part_name.
Contains(
"barbed") )
2537 {
2538 BarbedWire barbed_wire = BarbedWire.Cast( FindAttachmentBySlotName( zone ) );
2539 if (barbed_wire)
2540 barbed_wire.SetMountedState( false );
2541 }
2542 }
2543 }
2544
2546 {
2548 {
2550 }
2551
2552 super.EEOnAfterLoad();
2553 }
2554
2556 {
2557 super.EEInit();
2558
2559
2561
2562
2563 #ifdef DEVELOPER
2565 #endif
2566 }
2567
2569 {
2570 super.EEItemAttached( item, slot_name );
2571
2575 }
2576
2578 {
2579 super.EEItemDetached( item, slot_name );
2580
2583 }
2584
2585 protected void OnSetSlotLock(
int slotId,
bool locked,
bool was_locked )
2586 {
2589
2592 }
2593
2594
2596 {
2597 return true;
2598 }
2599
2600
2601
2603 {
2605
2606
2607 if (construtionPart.
IsBase())
2608 {
2610
2611
2613 }
2614
2615
2617
2618
2620
2621
2623
2625
2627
2628
2630
2631
2633 }
2634
2636 {
2637
2639 }
2640
2641
2643 {
2646
2647
2649
2650
2652
2653
2655
2656
2658
2660
2661
2663
2664
2666
2667
2668 if (construtionPart.
IsBase())
2669 {
2670
2672 }
2673 }
2674
2676 {
2677
2679 }
2680
2681
2682 void OnPartDestroyedServer(Man player,
string part_name,
int action_id,
bool destroyed_by_connected_part =
false)
2683 {
2686
2687
2689
2690
2692
2693
2695
2696
2698
2700
2701
2703
2704
2706
2707
2708 if (construtionPart.
IsBase())
2709 {
2710
2712 }
2713 }
2714
2716 {
2717
2719 }
2720
2723 {
2724 bool process = false;
2725
2726
2730
2731 if (process)
2732 {
2733 if (!MemoryPointExists(part.
m_PartName +
"_min") || !MemoryPointExists(part.
m_PartName +
"_max"))
2734 {
2736 return;
2737 }
2738
2740 mins = ModelToWorld(GetMemoryPointPos(part.
m_PartName +
"_min"));
2741 maxs = ModelToWorld(GetMemoryPointPos(part.
m_PartName +
"_max"));
2742
2743
2745 minTmp[0] =
Math.
Min(mins[0],maxs[0]);
2746 maxTmp[0] =
Math.
Max(mins[0],maxs[0]);
2747 minTmp[1] =
Math.
Min(mins[1],maxs[1]);
2748 maxTmp[1] =
Math.
Max(mins[1],maxs[1]);
2749 minTmp[2] =
Math.
Min(mins[2],maxs[2]);
2750 maxTmp[2] =
Math.
Max(mins[2],maxs[2]);
2751 mins = minTmp;
2752 maxs = maxTmp;
2753
2754 maxs[1] = maxs[1] + 0.35;
2755
2757 }
2758 }
2759
2762 {
2765
2766
2768 foreach (
EntityAI entity : foundEntities)
2769 {
2772 }
2773 }
2774
2775
2777 {
2779
2783 }
2784
2786 {
2788
2790 {
2792 }
2793 else
2794 {
2796 }
2797
2799 }
2800
2802 {
2804
2806 foreach (
string slotName : attachmentSlots)
2807 {
2809 }
2810
2811
2814 else
2816
2818 }
2819
2821 {
2822 string slotNameMounted = slot_name + "_Mounted";
2823 EntityAI attachment = FindAttachmentBySlotName(slot_name);
2824
2825 if (attachment)
2826 {
2827 BarbedWire barbedWire = BarbedWire.Cast(attachment);
2828 if (barbedWire && barbedWire.IsMounted())
2830 else
2832
2833 if (is_locked)
2834 {
2835 SetAnimationPhase(slotNameMounted, 0);
2836 SetAnimationPhase(slot_name, 1);
2837 }
2838 else
2839 {
2840 SetAnimationPhase(slotNameMounted, 1);
2841 SetAnimationPhase(slot_name, 0);
2842 }
2843 }
2844 else
2845 {
2846 SetAnimationPhase(slotNameMounted, 1);
2847 SetAnimationPhase(slot_name, 1);
2848
2850 }
2851 }
2852
2853
2855 {
2858
2861
2864
2865 foreach (
string slotName : attachmentSlots)
2866 {
2868 }
2869
2870
2872 {
2875
2877 }
2878 else
2879 {
2882
2884 }
2885
2888 }
2889
2891 {
2892
2894 return;
2895
2896 string slot_name_mounted = slot_name + "_Mounted";
2897 EntityAI attachment = FindAttachmentBySlotName( slot_name );
2898
2899
2901 RemoveProxyPhysics( slot_name_mounted );
2902 RemoveProxyPhysics( slot_name );
2903
2904 if ( attachment )
2905 {
2907 if ( is_locked )
2908 {
2910 AddProxyPhysics( slot_name_mounted );
2911 }
2912 else
2913 {
2915 AddProxyPhysics( slot_name );
2916 }
2917 }
2918 }
2919
2921 {
2922 SetAffectPathgraph( true, false );
2924 }
2925
2927 {
2928 return true;
2929 }
2930
2932 {
2933 return true;
2934 }
2935
2937 {
2938 if ( attachment )
2939 {
2941 attachment.GetInventory().GetCurrentInventoryLocation( inventory_location );
2942
2943 return GetInventory().GetSlotLock( inventory_location.
GetSlot() );
2944 }
2945
2946 return false;
2947 }
2948
2950 {
2952 }
2953
2954
2956 {
2957 string config_path = "CfgVehicles" + " " + entity.GetType() + " " + "attachments";
2958 if (
GetGame().ConfigIsExisting( config_path ) )
2959 {
2961 }
2962 }
2963
2965 {
2966 return true;
2967 }
2968
2970 {
2971 return true;
2972 }
2973
2975 {
2976 return true;
2977 }
2978
2979
2981 {
2983 {
2985 }
2986
2988 }
2989
2991 {
2993 }
2994
2995
2996
2998 {
2999 return super.CanReceiveAttachment(attachment, slotId);
3000 }
3001
3003 {
3004 int attachment_count = GetInventory().AttachmentCount();
3005 if ( attachment_count > 0 )
3006 {
3007 if (
HasBase() && attachment_count == 1 )
3008 {
3009 return false;
3010 }
3011
3012 return true;
3013 }
3014
3015 return false;
3016 }
3017
3019 {
3020 return true;
3021 }
3022
3024 {
3025 return false;
3026 }
3027
3028
3030 {
3031 return false;
3032 }
3033
3035 {
3036 return false;
3037 }
3038
3039
3041 {
3042 return false;
3043 }
3044
3045
3046
3048 {
3049 return true;
3050 }
3051
3053 {
3054 return true;
3055 }
3056
3059 {
3060 return false;
3061 }
3062
3063
3065 {
3066 return true;
3067 }
3068
3069
3071 {
3072 return false;
3073 }
3074
3075
3077 {
3078 return true;
3079 }
3080
3081
3083 {
3084 if (
HasBase() || GetInventory().AttachmentCount() > 0 )
3085 {
3086 return false;
3087 }
3088
3089 return true;
3090 }
3091
3093 {
3096
3097 return item;
3098 }
3099
3100
3102 {
3104 {
3105
3107
3108
3111
3113 if ( MemoryPointExists( slot_name + "_min" ) )
3114 {
3115 min_max[0] = GetMemoryPointPos( slot_name + "_min" );
3116 }
3117 if ( MemoryPointExists( slot_name + "_max" ) )
3118 {
3119 min_max[1] = GetMemoryPointPos( slot_name + "_max" );
3120 }
3121
3122
3125
3126
3129 center = ModelToWorld( center );
3130
3131
3134
3135 areaDamage.SetExtents( extents[0], extents[1] );
3136 areaDamage.SetAreaPosition( center );
3137 areaDamage.SetAreaOrientation( orientation );
3140 areaDamage.SetHitZones( { "Torso","LeftHand","LeftLeg","LeftFoot","RightHand","RightLeg","RightFoot" } );
3141 areaDamage.SetAmmoName( "BarbedWireHit" );
3142 areaDamage.Spawn();
3143
3145 }
3146 }
3147
3149 {
3150 if ( angle_deg != 0 )
3151 {
3152
3153 orientation[0] = orientation[0] - angle_deg;
3154
3155
3157 if ( MemoryPointExists( "rotate_axis" ) )
3158 {
3159 rotate_axis = ModelToWorld( GetMemoryPointPos( "rotate_axis" ) );
3160 }
3161 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];
3162 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];
3163 center[0] = r_center_x;
3164 center[2] = r_center_z;
3165 }
3166 }
3167
3169 {
3171 {
3174 {
3175 if (areaDamage)
3176 {
3177 areaDamage.Destroy();
3178 }
3179
3181 }
3182 }
3183 }
3184
3186 {
3187 return true;
3188 }
3189
3190
3191
3192
3194 {
3196 }
3197
3199 {
3201 }
3202
3204 {
3206 }
3207
3209 {
3211
3212 switch ( material_type )
3213 {
3219 }
3220
3221 return "";
3222 }
3223
3225 {
3227
3228 switch ( material_type )
3229 {
3235 }
3236
3237 return "";
3238 }
3239
3240
3242 {
3244 {
3245
3247 {
3248 SetHealth(slot_name,"Health",item.GetHealth());
3249 }
3250 }
3251 }
3252
3254 {
3255 return 111;
3256 }
3257
3259 {
3260 super.SetActions();
3261
3265 }
3266
3267
3268
3269
3271 {
3272 }
3273
3276 {
3277 return null;
3278 }
3279
3281 {
3283 }
3284
3286 {
3289
3290 Man p;
3291
3292 #ifdef SERVER
3295 if (players.Count())
3296 p = players[0];
3297 #else
3299 #endif
3300
3302 {
3303 bool excluded = false;
3305 if (excludes)
3306 {
3307 foreach (string exclude : excludes)
3308 {
3310 {
3311 excluded = true;
3312 break;
3313 }
3314 }
3315 }
3316
3317 if (!excluded)
3318 {
3320 }
3321 }
3322
3324 }
3325}
3326
3328{
3329#ifdef BSB_DEBUG
3331#else
3332
3333#endif
3334}
3336{
3337#ifdef BSB_DEBUG_SPAM
3339#else
3340
3341#endif
3342}
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.