getColor

Column
promise
Tags
현재 플레이어 색상 반환

getColor

getColor(): Promise<string, Error>
현재 플레이어의 색상 반환

함수 예시

player.getColor().then(function(color) { // color = the hex color of the player }).catch(function(error) { // an error occurred });