PHP Class App\Http\Controllers\TextureController

Inheritance: extends Controller
Mostra file Open project: printempw/blessing-skin-server

Public Methods

Method Description
avatar ( $base64_email, $size = 128, UserRepository $users )
avatarWithSize ( $size, $base64_email, UserRepository $users )
cape ( $player_name )
json ( string $player_name, string $api = "" ) : Illuminate\Http\Response Return Player Profile formatted in JSON.
jsonWithApi ( $api, $player_name )
preview ( $tid, $size = 250 )
previewWithSize ( $size, $tid )
raw ( $tid )
skin ( $player_name, $model = "" )
skinWithModel ( $model, $player_name )
texture ( $hash )
textureWithApi ( $api, $hash )

Private Methods

Method Description
getPlayerInstance ( $player_name )

Method Details

avatar() public method

public avatar ( $base64_email, $size = 128, UserRepository $users )
$users App\Services\Repositories\UserRepository

avatarWithSize() public method

public avatarWithSize ( $size, $base64_email, UserRepository $users )
$users App\Services\Repositories\UserRepository

cape() public method

public cape ( $player_name )

json() public method

Return Player Profile formatted in JSON.
public json ( string $player_name, string $api = "" ) : Illuminate\Http\Response
$player_name string
$api string
return Illuminate\Http\Response

jsonWithApi() public method

public jsonWithApi ( $api, $player_name )

preview() public method

public preview ( $tid, $size = 250 )

previewWithSize() public method

public previewWithSize ( $size, $tid )

raw() public method

public raw ( $tid )

skin() public method

public skin ( $player_name, $model = "" )

skinWithModel() public method

public skinWithModel ( $model, $player_name )

texture() public method

public texture ( $hash )

textureWithApi() public method

public textureWithApi ( $api, $hash )