Blockbench Reference Docs
Preparing search index...
generated/edit_sessions
EditSession
Class EditSession
Index
Constructors
constructor
Properties
active
chat_
history
client_
count
clients
data_
queue
host
hosting
peer
Project
self
token
username
Methods
add
Chat
Message
catch
Up
copy
Token
init
Connection
init
New
Model
join
process
Chat
Message
process
Data
quit
receive
Data
send
All
send
Chat
send
Edit
set
State
start
update
Client
Count
Constructors
constructor
new
EditSession
()
:
EditSession
Returns
EditSession
Properties
active
active
:
boolean
chat_
history
chat_history
:
any
[]
client_
count
client_count
:
number
clients
clients
:
{}
data_
queue
data_queue
:
any
[]
host
host
:
DataConnection
hosting
hosting
:
boolean
peer
peer
:
Peer
Project
Project
:
ModelProject
self
self
:
{
conn
:
any
;
hosting
:
any
;
id
:
any
;
name
:
any
;
session
:
any
;
disconnect
(
e
:
any
)
:
void
;
send
(
tag
:
any
)
:
void
;
}
token
token
:
any
username
username
:
any
Methods
add
Chat
Message
addChatMessage
(
message
:
any
)
:
any
Parameters
message
:
any
Returns
any
catch
Up
catchUp
()
:
void
Returns
void
copy
Token
copyToken
()
:
void
Returns
void
init
Connection
initConnection
(
conn
:
any
)
:
void
Parameters
conn
:
any
Returns
void
init
New
Model
initNewModel
(
force
:
any
)
:
void
Parameters
force
:
any
Returns
void
join
join
(
username
:
any
,
token
:
any
)
:
void
Parameters
username
:
any
token
:
any
Returns
void
process
Chat
Message
processChatMessage
(
data
:
any
)
:
void
Parameters
data
:
any
Returns
void
process
Data
processData
(
tag
:
any
)
:
void
Parameters
tag
:
any
Returns
void
quit
quit
()
:
void
Returns
void
receive
Data
receiveData
(
tag
:
any
)
:
void
Parameters
tag
:
any
Returns
void
send
All
sendAll
(
type
:
any
,
data
:
any
)
:
void
Parameters
type
:
any
data
:
any
Returns
void
send
Chat
sendChat
(
text
:
any
)
:
void
Parameters
text
:
any
Returns
void
send
Edit
sendEdit
(
entry
:
any
)
:
void
Parameters
entry
:
any
Returns
void
set
State
setState
(
active
:
any
)
:
void
Parameters
active
:
any
Returns
void
start
start
(
username
:
any
)
:
void
Parameters
username
:
any
Returns
void
update
Client
Count
updateClientCount
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
active
chat_
history
client_
count
clients
data_
queue
host
hosting
peer
Project
self
token
username
Methods
add
Chat
Message
catch
Up
copy
Token
init
Connection
init
New
Model
join
process
Chat
Message
process
Data
quit
receive
Data
send
All
send
Chat
send
Edit
set
State
start
update
Client
Count
Blockbench Reference Docs
Loading...