Tile - YArray - Remove – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{Navbox\/Ylands\}\}" to "{{Navbox/Ylands}}")
No edit summary
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Remove(Array, Object) ==
 
[[File:YlandsTile-788.png]]
 
<pre>static remove(array: any[], object: any): void;</pre>
=== Parameters ===
 
==== array ====
 
Target array
 
==== object ====
 
Object to be removed from array
 
=== Availability ===
 
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]]
 
=== Description ===
 
Allows to '''remove''' selected '''object''' from '''array'''.
 
== Remove(Array, Object) ==
 
[[File:YlandsTile-1149.png]]
 
<pre>static remove(array: any[], object: any[]): void;</pre>
=== Parameters ===
 
==== array ====
 
Target array
 
==== object ====
 
Object(s) to removed from array
 
=== Availability ===
 
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]]
 
=== Description ===
 
Allows to '''remove''' array of '''objects''' from '''array'''.




Line 7: Line 54:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 1.1]]

Revision as of 12:17, 12 November 2021

Remove(Array, Object)

YlandsTile-788.png

static remove(array: any[], object: any): void;

Parameters

array

Target array

object

Object to be removed from array

Availability

Client, Server, Custom Controller

Description

Allows to remove selected object from array.

Remove(Array, Object)

YlandsTile-1149.png

static remove(array: any[], object: any[]): void;

Parameters

array

Target array

object

Object(s) to removed from array

Availability

Client, Server, Custom Controller

Description

Allows to remove array of objects from array.