- default(__namedParameters): {
initialize(options?) => void;
}
-
Returns {
initialize(options?) => void;
}
-
initialize:function
- initialize(options?): void
-
Parameters
-
Optional
options: {
addLog?: false | ((message) => unknown);
balloon?: true | {
local?: boolean;
nameplatePositionHeightOptions?: NameplatePositionHeightOptions;
position?: {
x?: number;
y?: number;
};
textTextureOptions?: ChatBalloonTextTexrureOptions;
};
handleChatMessage?: ((onChatMessage) => unknown);
notifySound?: {
audioSrc: string;
volume?: number;
};
}
-
Optional
addLog?: false | ((message) => unknown)
-
Optional
balloon?: true | {
local?: boolean;
nameplatePositionHeightOptions?: NameplatePositionHeightOptions;
position?: {
x?: number;
y?: number;
};
textTextureOptions?: ChatBalloonTextTexrureOptions;
}
-
Optional
handleChatMessage?: ((onChatMessage) => unknown)
-
- (onChatMessage): unknown
-
Parameters
-
onChatMessage: ((chatMessage) => unknown)
-
- (chatMessage): unknown
-
Returns unknown
Returns unknown
-
Optional
notifySound?: {
audioSrc: string;
volume?: number;
}
-
audioSrc: string
-
Optional
volume?: number
Returns void
simple chat