io.github.pidoveproject.showdown.protocol.MessageInput
See theMessageInput companion object
case class MessageInput(
raw:
String,
data:
List[(
Int,
String)],
cursor:
Int,
roomId:
RoomId)
Value parameters
-
cursor
-
the next part index to consume
-
data
-
the input separated in indexed parts
-
raw
-
the entire input as String
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Get the character position of the cursor.
Get the character position of the cursor.
Attributes
-
Returns
-
the column position of the current part to read
Check if this input is exhausted.
Check if this input is exhausted.
Attributes
-
Returns
-
true if the cursor is at the end of the input
Attributes
-
Returns
-
the part at the cursor's index
Attributes
-
Returns
-
a new MessageInput pointing to the next part
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product