Partial_ResourceMapItem
Partial_ResourceMapItem
- Full name:
\Onslip360\API\Partial_ResourceMapItem
- Parent class:
\Onslip360\Onslip360Object
Properties
height
public int|null $height
resource
public int|null|\Onslip360\Nil $resource
shape
public \Onslip360\API\ResourceMapItem\Shape|null $shape
type
public \Onslip360\API\ResourceMapItem\Type|null $type
width
public int|null $width
x
public int|null $x
y
public int|null $y
Methods
__construct
public __construct(int|null $height = null, int|null|\Onslip360\Nil $resource = null, \Onslip360\API\ResourceMapItem\Shape|null $shape = null, \Onslip360\API\ResourceMapItem\Type|null $type = null, int|null $width = null, int|null $x = null, int|null $y = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$height | int|null | |
$resource | int|null|\Onslip360\Nil | |
$shape | \Onslip360\API\ResourceMapItem\Shape|null | |
$type | \Onslip360\API\ResourceMapItem\Type|null | |
$width | int|null | |
$x | int|null | |
$y | int|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05