Reference Source Test
public class | source

Container

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

size: *

public

slots: *[]

Method Summary

Public Methods
public
public

getImageFormat(scale: *, name: *): string

public

setSlot(index: *, info: *)

We receive information from the server here, so we mustn't do any calculations. Instead, we just modify the container directly.

Public Constructors

public constructor() source

Public Members

public size: * source

public slots: *[] source

Public Methods

public getEmptySlot(): * source

Return:

*

public getImageFormat(scale: *, name: *): string source

Params:

NameTypeAttributeDescription
scale *
name *

Return:

string

public setSlot(index: *, info: *) source

We receive information from the server here, so we mustn't do any calculations. Instead, we just modify the container directly.

Params:

NameTypeAttributeDescription
index *
info *