407 {
408 string dialText;
409
411 {
412 string combinationText;
414 {
416 }
418 {
420 }
421
422
424 for (int i = 0; i < lengthDiff; ++i)
425 {
426 combinationText = "0" + combinationText;
427 }
428
429 int dialIndex;
431 {
433 }
435 {
437 }
438
439
441 {
442 if (j == dialIndex)
443 {
444 dialText +=
string.
Format(
"[%1]", combinationText.
Get(j));
445 }
446 else
447 {
448 dialText +=
string.
Format(
" %1 ", combinationText.
Get(j));
449 }
450 }
451 }
452
453 return dialText;
454 }
CombinationLock m_CombinationLock
int m_CombinationLockSide
proto native int Length()
Returns length of string.
proto string Get(int index)
Gets n-th character from string.
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.