/*** @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 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 (