Skip to main content

Partial_ResourceMapItem


Partial_ResourceMapItem

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:

ParameterTypeDescription
$heightint|null
$resourceint|null|\Onslip360\Nil
$shape\Onslip360\API\ResourceMapItem\Shape|null
$type\Onslip360\API\ResourceMapItem\Type|null
$widthint|null
$xint|null
$yint|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05