예제 #1
1
파일: sampleData.php 프로젝트: allejo/bzion
Match::enterMatch($olfm->getId(), $lweak->getId(), 0, 0, 20, $blast->getId(), "now", [], [], null, null, null, $toast->getId());
Match::enterMatch($fflood->getId(), $lweak->getId(), 1, 15, 20, $autoreport->getId(), "now", [], [], null, null, null, $six->getId());
Match::enterMatch($gsepar->getId(), $fradis->getId(), 8, 23, 30, $kierra->getId(), "now", [], [], null, null, null, $toast->getId());
Match::enterMatch($olfm->getId(), $lweak->getId(), 5, 4, 20, $kierra->getId());
Match::enterMatch($reptitles->getId(), $gsepar->getId(), 1, 1500, 20, $autoreport->getId(), "now", [], [], null, null, null, $monocati->getId());
Match::enterMatch($olfm->getId(), $lweak->getId(), 1, 1, 30, $autoreport->getId(), "now", [], [], null, null, null, $monocati->getId());
Match::enterMatch($fradis->getId(), $gsepar->getId(), 1, 2, 20, $kierra->getId(), "now", [], [], null, null, null, $monocati->getId());
echo " done!";
echo "\nUpdating teams...";
$reptitles->update("activity", 9000);
$fflood->update("activity", -18);
$fradis->update("activity", 3.141592653589793);
echo " done!";
echo "\nAdding servers...";
Server::addServer("Wingfights Fountains", "helit.tech", 5154, 151, $alezakos->getId());
Server::addServer("BZPro Public HiX Rabbit Chase", "bzpro.net", 5155, 227, $tw1sted->getId());
echo " done!";
echo "\nAdding messages...";
$conversation = Conversation::createConversation("New blog", $snake->getId(), $allPlayers);
for ($i = 0; $i <= 10; ++$i) {
    Conversation::createConversation("Extra test {$i}", $alezakos->getId(), $allPlayers)->sendMessage($allejo, "This is a test conversation");
}
$event = new ConversationRenameEvent($conversation, "New message", "New blorg", $snake);
ConversationEvent::storeEvent($conversation->getId(), $event, Events::CONVERSATION_RENAME);
$event = new ConversationRenameEvent($conversation, "New blorg", "New blog", $snake);
ConversationEvent::storeEvent($conversation->getId(), $event, Events::CONVERSATION_RENAME);
$conversation->sendMessage($snake, "Check out my new blog!");
$conversation = Conversation::createConversation("Serious discussion", $constitution->getId(), $allPlayers);
$conversation->sendMessage($ashvala, "hey");
$conversation->sendMessage($alezakos, "hm, what different machine learning some reason why I turned on the cloud version");
$conversation->sendMessage($allejo, "then I can type at 12,000 wpm?");
예제 #2
0
 /**
  * {@inheritDoc}
  */
 public function enter($form)
 {
     return \Server::addServer($form->get('name')->getData(), $form->get('address')->getData(), 1, $form->get('owner')->getData()->getId());
 }
예제 #3
0
 /**
  * {@inheritdoc}
  */
 public function enter($form)
 {
     return \Server::addServer($form->get('name')->getData(), $form->get('domain')->getData(), $form->get('port')->getData(), $form->get('country')->getData()->getId(), $form->get('owner')->getData()->getId());
 }