c2ephp

tests/pray-glst-make.php

Go to the documentation of this file.
00001 <?php
00002 include '../c2ephp.php';
00003 
00004 $history = new CreatureHistory('063-wind-gvqyh-ul36x-6hf64-rdnl2','DonkeyBreath',CREATUREHISTORY_GENDER_FEMALE,1,3,0,0);
00005 $event = new CreatureHistoryEvent(0,100,0,time(),0xFFFFFFFF,'063-wind-gvqyh-ul36x-6hf64-rdnl2','063-wind-gvqyh-ul36x-6hf64-rdnl2','','','Donkeys','063-wind-gvqyh-ul36x-6hf64-rdnl2');
00006 $history->AddEvent($event);
00007 
00008 $prayfile = new PRAYFile();
00009 $prayfile->AddBlock(new GLSTBlock($history,'DonkeyBreath!!','',PRAY_FLAG_ZLIB_COMPRESSED));
00010 print $prayfile->Compile();
00011 
00012 ?>
 All Classes Files Functions Variables Enumerations