Changelog
*** Version 0.2 *** R20200430 - add <logMessages>, <logMessage> *** Version 0.1 *** R20200330 - add Session::playerOneName, Session::playerTwoName R20200329 - remove Incident::name - add MoveIncident::move R20200325 - rename normalizedHitPoints to normalizedHP - add <spawnIncident> - add EntityInfo::id R20200324 - initial release
Elements in namespace http://schema.slothsoft.net/trialoftwo/database
The element database
- Content model:
- Possible child elements:
sessions(1)
- Possible attributes:
The element sessions
- Context in which this element may appear:
- Possible child elements:
session(*)
- Possible attributes:
- -
The element session
- Context in which this element may appear:
- Content model:
- Possible child elements:
rooms(1)
incidents(1)
logMessages(1)
- Possible attributes:
start
::=xsd:dateTime
end
::=xsd:dateTime
scene
::=xsd:token
playerOneName
::=xsd:token
playerTwoName
::=xsd:token
The element rooms
- Context in which this element may appear:
- Possible child elements:
room(*)
- Possible attributes:
- -
The element room
- Context in which this element may appear:
- Content model:
- Possible child elements:
- -
- Possible attributes:
The element incidents
- Context in which this element may appear:
- Possible child elements:
- Possible attributes:
- -
The element moveIncident
- Context in which this element may appear:
- Content model:
- Possible child elements:
- Possible attributes:
time
::=xsd:dateTime
move
::=xsd:token
chainLength
::=xsd:int
The element entity
- Context in which this element may appear:
- Content model:
- Possible child elements:
- -
- Possible attributes:
name
::=xsd:token
id
::=xsd:int
currentRoom
::=xsd:token
localPositionX
::=xsd:float
localPositionY
::=xsd:float
localPositionZ
::=xsd:float
normalizedHP
::=xsd:float
focussedEntity
::=xsd:token
isAlive
::=xsd:boolean
isAirborne
::=xsd:boolean
isStunned
::=xsd:boolean
isDizzy
::=xsd:boolean
The element players
- Context in which this element may appear:
- Content model:
- Possible child elements:
- Possible attributes:
distance
::=xsd:float
oneSeesTwo
::=xsd:boolean
twoSeesOne
::=xsd:boolean
The element playerOne
- Context in which this element may appear:
- Content model:
- Possible child elements:
- -
- Possible attributes:
name
::=xsd:token
id
::=xsd:int
currentRoom
::=xsd:token
localPositionX
::=xsd:float
localPositionY
::=xsd:float
localPositionZ
::=xsd:float
normalizedHP
::=xsd:float
focussedEntity
::=xsd:token
isAlive
::=xsd:boolean
isAirborne
::=xsd:boolean
isStunned
::=xsd:boolean
isDizzy
::=xsd:boolean
The element playerTwo
- Context in which this element may appear:
- Content model:
- Possible child elements:
- -
- Possible attributes:
name
::=xsd:token
id
::=xsd:int
currentRoom
::=xsd:token
localPositionX
::=xsd:float
localPositionY
::=xsd:float
localPositionZ
::=xsd:float
normalizedHP
::=xsd:float
focussedEntity
::=xsd:token
isAlive
::=xsd:boolean
isAirborne
::=xsd:boolean
isStunned
::=xsd:boolean
isDizzy
::=xsd:boolean
The element hurtIncident
- Context in which this element may appear:
- Content model:
- Possible child elements:
- Possible attributes:
time
::=xsd:dateTime
damageAmount
::=xsd:int
The element spawnIncident
- Context in which this element may appear:
- Content model:
- Possible child elements:
- Possible attributes:
time
::=xsd:dateTime
The element deathIncident
- Context in which this element may appear:
- Content model:
- Possible child elements:
- Possible attributes:
time
::=xsd:dateTime
The element logMessages
- Context in which this element may appear:
- Possible child elements:
logMessage(*)
- Possible attributes:
- -
The element logMessage
- Context in which this element may appear:
- Content model:
- Possible child elements:
- -
- Possible attributes:
type
::="Error"
|"Assert"
|"Warning"
|"Log"
|"Exception"
time
::=xsd:dateTime
condition
::=xsd:string
stackTrace
::=xsd:string
Attributes in namespace http://schema.slothsoft.net/trialoftwo/database
The attribute schemaVersion
The attribute gameVersion
The attribute start
The attribute end
The attribute scene
The attribute playerOneName
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute playerTwoName
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute name
The attribute roomEntered
The attribute battleStarted
The attribute roomCleared
The attribute isCleared
The attribute isGameOver
The attribute time
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute name
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute id
The attribute currentRoom
The attribute localPositionX
The attribute localPositionY
The attribute localPositionZ
The attribute normalizedHP
The attribute focussedEntity
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute isAlive
The attribute isAirborne
The attribute isStunned
The attribute isDizzy
The attribute distance
The attribute oneSeesTwo
The attribute twoSeesOne
The attribute move
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute chainLength
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute damageAmount
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute type
- Required:
- Yes
- Elements which use this attribute:
- Content model:
- Allowed content:
"Error"
"Assert"
"Warning"
"Log"
"Exception"
The attribute time
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute condition
- Required:
- Yes
- Elements which use this attribute:
- Content model:
The attribute stackTrace
- Required:
- Yes
- Elements which use this attribute:
- Content model:
Content models in namespace http://schema.slothsoft.net/trialoftwo/database
The content model Database
- Elements which use this content model:
- Possible child elements:
sessions(1)
- Possible attributes:
The content model Session
- Elements which use this content model:
- Possible child elements:
rooms(1)
incidents(1)
logMessages(1)
- Possible attributes:
start
::=xsd:dateTime
end
::=xsd:dateTime
scene
::=xsd:token
playerOneName
::=xsd:token
playerTwoName
::=xsd:token
The content model RoomInfo
- Elements which use this content model:
- Possible child elements:
- -
- Possible attributes:
The content model LogMessage
- Elements which use this content model:
- Possible child elements:
- -
- Possible attributes:
type
::="Error"
|"Assert"
|"Warning"
|"Log"
|"Exception"
time
::=xsd:dateTime
condition
::=xsd:string
stackTrace
::=xsd:string
The content model Incident
- Elements which use this content model:
- This content model is extended by:
- Possible child elements:
- Possible attributes:
time
::=xsd:dateTime
The content model MoveIncident
- Elements which use this content model:
- This content model extends:
- Possible child elements:
- Possible attributes:
time
::=xsd:dateTime
move
::=xsd:token
chainLength
::=xsd:int
The content model HurtIncident
- Elements which use this content model:
- This content model extends:
- Possible child elements:
- Possible attributes:
time
::=xsd:dateTime
damageAmount
::=xsd:int
The content model SpawnIncident
- Elements which use this content model:
- This content model extends:
- Possible child elements:
- Possible attributes:
time
::=xsd:dateTime
The content model DeathIncident
- Elements which use this content model:
- This content model extends:
- Possible child elements:
- Possible attributes:
time
::=xsd:dateTime
The content model PlayersInfo
- Elements which use this content model:
- Possible child elements:
- Possible attributes:
distance
::=xsd:float
oneSeesTwo
::=xsd:boolean
twoSeesOne
::=xsd:boolean
The content model EntityInfo
- Elements which use this content model:
- Possible child elements:
- -
- Possible attributes:
name
::=xsd:token
id
::=xsd:int
currentRoom
::=xsd:token
localPositionX
::=xsd:float
localPositionY
::=xsd:float
localPositionZ
::=xsd:float
normalizedHP
::=xsd:float
focussedEntity
::=xsd:token
isAlive
::=xsd:boolean
isAirborne
::=xsd:boolean
isStunned
::=xsd:boolean
isDizzy
::=xsd:boolean
The content model SceneName
The content model RoomName
- Attributes which use this content model:
- This content model extends:
The content model MoveName
The content model EntityName
- Attributes which use this content model:
- This content model extends:
The content model LogType
- Attributes which use this content model:
- This content model extends:
- Allowed content:
"Error"
"Assert"
"Warning"
"Log"
"Exception"
The content model bool
- Attributes which use this content model:
- This content model extends:
The content model float
- Attributes which use this content model:
- This content model extends:
The content model int
- Attributes which use this content model:
- This content model extends:
The content model datetime
- Attributes which use this content model:
- This content model extends:
The content model string
- Attributes which use this content model:
- This content model extends: