ChatRoomView
Hierarchy
- Pick<ScreenFunctions, Run | MouseDown | MouseUp | MouseMove | MouseWheel | Click | Draw | KeyDown>
- ChatRoomView
Index
Properties
optionalActivate
Type declaration
Returns void
optionalCanLeave
Type declaration
Returns boolean
optionalCanStartWhisper
Type declaration
Parameters
C: Character
Returns boolean
Click
optionalDeactivate
Type declaration
Returns void
DisplayMessage
Type declaration
Parameters
data: ServerChatRoomMessage
msg: string
SenderCharacter: Character
metadata: IChatRoomMessageMetadata
Returns string
Draw
Type declaration
Returns void
DrawUi
Type declaration
Returns void
optionalKeyDown
Called if the the user presses any key
optionalMouseDown
Called if the user presses the mouse button or touches the touchscreen on the canvas
optionalMouseMove
Called if the user moves the mouse cursor or the touch on the touchscreen over the canvas
optionalMouseUp
Called if the user releases the mouse button or the touchscreen on the canvas
optionalMouseWheel
Called if the user moves the mouse wheel on the canvas
Run
Called each frame
Screenshot
Type declaration
Returns void
optionalSyncRoomProperties
Type declaration
Parameters
Returns void
Called if the user clicks on the canvas
The event that triggered this