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
-
Source
-
MessageInput.scala
-
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
-
Source
-
MessageInput.scala
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
-
Source
-
MessageInput.scala
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product