/*** @jsx React.DOM */ var UnknownEvent = React.createClass({ render: function() { return ( Unknown event {event.type}
Raw JSON:
{JSON.stringify(event.data, null, 4)} ); }, }); var ExceptionEvent = React.createClass({ render: function() { var event = this.props.event; var location = 'Unknown Service'; var details = 'No details for this type of exception!'; if (event.data.service == 'frontend') { location = 'Web UI'; details = (
URI:
{event.data.request}
Exception:
{event.data.traceback}
); } else if(event.data.service == 'xrpc') { location = 'Game Services'; details = (
Request:
{event.data.request}
Exception:
{event.data.traceback}
); } else if(event.data.service == 'scheduler') { location = 'Work Scheduler'; details = (
Exception:
{event.data.traceback}
); } else if (event.data.service == 'api') { location = 'Data Exchange API'; details = (
URI:
{event.data.request}
Exception:
{event.data.traceback}
); } return (
Exception Occurred In {location} {details} ); }, }); var UnhandledPacketEvent = React.createClass({ render: function() { var event = this.props.event; return (
Unhandled Packet Received In Game Services
Request:
{event.data.request} ); }, }); var UnauthorizedClientEvent = React.createClass({ render: function() { var event = this.props.event; return (
Unauthorized Client Connected To Game Services
Model:
{event.data.model}
PCBID:
{event.data.pcbid}
IP Addres:
{event.data.ip}
); }, }); var PCBEvent = React.createClass({ render: function() { var event = this.props.event; return (
PCB Event
Model:
{event.data.model}
PCBID:
{event.data.pcbid}
IP Addres:
{event.data.ip}
Name:
{event.data.name}
Value:
{event.data.value}
); }, }); var PASELITransactionEvent = React.createClass({ render: function() { var event = this.props.event; var username = null; var user = null; if (this.props.users) { if (this.props.users[event.userid]) { username = this.props.users[event.userid]; } if (username == null) { user = anonymous account; } else { user = {username}; } } return (
PASELI Transaction { user ?
User:
: null } { this.props.arcades ?
Arcade:
{this.props.arcades[event.arcadeid]}
: null } { event.data['pcbid'] ?
PCBID:
{event.data.pcbid}
: null }
Reason:
{event.data.reason}
Transaction Amount:
{event.data.delta}
{ event.data['service'] && event.data['service'] != 0 ?
Service PASELI Amount:
{event.data.service}
: null }
New Balance:
{event.data.balance}
); }, }); var JubeatLeagueCourseEvent = React.createClass({ render: function() { var event = this.props.event; var game = this.props.versions[event.data.version]; return (
Generated New {game} League Course
Songs:
{event.data.songs.map(function(songid) { return ( ); }.bind(this))} ); }, }); var JubeatFCChallengeEvent = React.createClass({ render: function() { var event = this.props.event; var game = this.props.versions[event.data.version]; return (
Generated New {game} Full Combo Challenge Songs
Challenge:
{event.data.whim ? : null } ); }, }); var JubeatRandomCourseEvent = React.createClass({ render: function() { var event = this.props.event; var game = this.props.versions[event.data.version]; var charts = ["Basic", "Advanced", "Extreme"]; return (
Generated New {game} Random 10s Course
Songs:
{[event.data.song1, event.data.song2, event.data.song3].map(function(song) { return ( ); }.bind(this))} ); }, }); var IIDXDailyChartsEvent = React.createClass({ render: function() { var event = this.props.event; var game = this.props.versions[event.data.version]; return (
Generated New {game} Dailies
Songs:
{event.data.music.map(function(songid) { return ( ); }.bind(this))} ); }, }); var PopnMusicCourseEvent = React.createClass({ render: function() { var event = this.props.event; var game = this.props.versions[event.data.version]; return (
Generated New {game} Weekly Course Song
Song:
); }, }); var DDRProfilePurge = React.createClass({ render: function() { var event = this.props.event; var username = null; var user = null; if (this.props.users) { if (this.props.users[event.data.userid]) { username = this.props.users[event.data.userid]; } if (username == null) { user = anonymous account; } else { user = {username}; } } return (
DDR Ace Profile Purge { user ?
User:
: null }
Orphaned DDR Ace account was purged from the network.
); }, });