Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 8.05 KB

File metadata and controls

63 lines (49 loc) · 8.05 KB

subkt / myaa.subkt.ass / EventLine

EventLine

class EventLine : MapLine<EventLine> (source)

A line in an EventSection. Its associated accessor is EventLineAccessor.

See MapLine for a more in-depth description.

Constructors

Name Summary
<init> EventLine(layer: Int= 0, start:Duration= Duration.ZERO, end:Duration= Duration.ZERO, style:String= "Default", actor:String= "", marginL:Int= 0, marginR:Int= 0, marginV:Int= 0, effect:String= "", text:String= "", comment:Boolean? = null, type: String= "Dialogue", extraData:ExtraData? = null)
A line in an EventSection. Its associated accessor is EventLineAccessor.

Properties

Name Summary
actor var actor: String
comment var comment: Boolean
effect var effect: String
end var end: Duration
extraData val extraData: MutableMap<String, String>
layer var layer: Int
marginL var marginL: Int
marginR var marginR: Int
marginV var marginV: Int
start var start: Duration
style var style: String
text var text: String
type val type: String
The type of the line.

Inherited Properties

Name Summary
entries open val entries: MutableSet<MutableEntry<String, Any>>
keys open val keys: MutableSet<String>
size open val size: Int
values open val values: MutableCollection<Any>

Inherited Functions

Name Summary
clear open fun clear(): Nothing
containsKey open fun containsKey(key: String): Boolean
containsValue open fun containsValue(value: Any): Boolean
get open fun get(key: String): Any?``fun <T> get(key: LineAccessor<T, L>): T
Get a field in a type-safe way using a LineAccessor.
isEmpty open fun isEmpty(): Boolean
put open fun put(key: String, value: Any): Any?``fun <T : Any> put(key: LineAccessor<T, L>, value: T): T?
Write to a field in a type-safe way using a LineAccessor.
putAll open fun putAll(from: Map<out String, Any>): Unit
putString fun putString(key: String, value: String): Any?
Writes the given value to the field given by the key, automatically deserializing the value if needed.
remove open fun remove(key: String): Nothing

Companion Object Properties

Name Summary
extraDataPattern val extraDataPattern: Regex