Games-Axmud
view release on metacpan or search on metacpan
lib/Games/Axmud/Client.pm view on Meta::CPAN
'at' => undef,
# 'att' => undef,
# 'entity' => undef,
'en' => [
'desc', 'private', 'publish', 'delete', 'add',
'remove',
],
# 'var' => undef,
'v' => [
'desc', 'private', 'publish', 'delete', 'add',
'remove',
],
'tag' => [
'windowname', 'fore', 'back', 'gag', 'enable',
'disable',
],
# 'bold' => undef,
'b' => undef,
# 'italic' => undef,
'i' => undef,
# 'em' => undef,
# 'underline' => undef,
'u' => undef,
# 'strikeout' => undef,
's' => undef,
# 'high' => undef,
'h' => undef,
# 'color' => undef,
'c' => ['fore', 'back'],
# 'font' => undef,
'f' => ['face', 'size', 'color', 'back'],
'nobr' => undef,
'p' => undef,
'br' => undef,
'sbr' => undef,
# ' ' => undef,
'a' => ['href', 'hint', 'expire'],
'send' => ['href', 'hint', 'prompt', 'expire'],
'expire' => undef,
'version' => undef,
'support' => undef,
'h1' => undef,
'h2' => undef,
'h3' => undef,
'h4' => undef,
'h5' => undef,
'h6' => undef,
'small' => undef,
'tt' => undef,
'sound' => ['v', 'l', 'p', 'c', 't', 'u'],
'music' => ['v', 'l', 'p', 'c', 't', 'u'],
'gauge' => ['max', 'caption', 'color'],
'stat' => ['max', 'caption'],
'frame' => [
'name', 'action', 'open', 'close', 'redirect',
'title', 'internal', 'align', 'left', 'top',
'width', 'height', 'scrolling', 'floating',
],
# 'destination' => undef,
'dest' => ['x', 'y', 'eol', 'eof'],
'relocate' => undef,
'quiet' => undef,
'user' => undef,
'password' => undef,
'image' => [
'fname', 'url', 't', 'h', 'w', 'hspace', 'vspace',
'align', 'ismap',
],
'filter' => ['src', 'dest', 'name'],
# 'SCRIPT => undef, # Deprecated since MXP v0.4
},
# Hash of MXP tags which are synonyms of other tags, e.g. <B>, <BOLD> and <STRONG>
# are all equivalent
constMxpConvertHash => {
'BOLD' => 'B',
'STRONG' => 'B',
'ITALIC' => 'I',
'EM' => 'I',
'UNDERLINE' => 'U',
'STRIKEOUT' => 'S',
'HIGH' => 'H',
'COLOR' => 'C', # Is in MXP spec
'FONT' => 'F', # Is not in MXP spec, but implemented anyway
'ELEMENT' => 'EL',
'ATTLIST' => 'AT',
'ATT' => 'AT', # The MXP spec uses both <!AT> and <!ATT>
'ENTITY' => 'EN',
'VAR' => 'V',
'DESTINATION' => 'DEST',
},
# Hash of MXP tags that are line-spacing tags that are routed to
# $self->processMxpSpacingTag, not $self->processMxpElement
constMxpLineSpacingHash => {
'<NOBR>' => undef,
'</NOBR>' => undef, # Invalid MXP tag, but still routed to
# ->processMxpSpacingTag
'<P>' => undef,
'</P>' => undef, # Valid MXP tag
'<BR>' => undef,
'</BR>' => undef, # Invalid MXP tag
'<SBR>' => undef,
'</SBR>' => undef, # Invalid MXP tag
'<HR>' => undef, # (Actually an MXP HTML element)
'</HR>' => undef, # Invalid MXP tag
},
# Hash of MXP modal tags, such as <B> and </I>, that can be 'on' or 'off'. These are
# also the only MXP tags that are allowed in open line mode ($self->mxpLineMode = 0)
constMxpModalHash => {
'B' => undef,
'C' => undef,
'F' => undef,
'H' => undef,
'I' => undef,
'S' => undef,
'U' => undef,
},
# Hash for converting some MXP modal tags into keys in
# GA::Obj::TextView->mxpModalStackHash (for quick lookup, when processing an opening
# tag like <B>, but not required when processing a closing tag like </B>)
constMxpStackConvertHash => {
'B' => 'bold_flag', # i.e. <B>
( run in 0.546 second using v1.01-cache-2.11-cpan-5511b514fd6 )