iAction,name,info, buildiActionCache, mode, myInfo

This commit is contained in:
2019-10-05 01:17:43 +09:00
parent 1699ac6e08
commit d481047eb4
90 changed files with 551 additions and 3592 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ var charInfoText = <?php
$charInfoText = [];
foreach(GameConst::$availablePersonality as $personalityID){
$personalityInfo = getPersonalityClass($personalityID)::$info;
$personalityInfo = buildPersonalityClass($personalityID)->getInfo();
$charInfoText[$personalityID];
}
echo Json::encode((object)$charInfoText);
@@ -119,7 +119,7 @@ if ($admin['show_img_level'] >= 1 && $member['grade'] >= 1 && $member['picture']
<select id="selChar" name=character size=1 maxlength=15 style=color:white;background-color:black;>
<option selected value='Random'>????</option>
<?php foreach(GameConst::$availablePersonality as $personalityID): ?>
<?php $personalityName = getPersonalityClass($personalityID)::$name; ?>
<?php $personalityName = buildPersonalityClass($personalityID)->getName(); ?>
<option value='<?=$personalityID?>'><?=$personalityName?></option>
<?php endforeach; ?>
</select> <span id="charInfoText"></span>