Event/String/Integer/クラス

System.h内での定義

Event {
  // wait for event type:イベント発生まで待つ
   // supported type:hear:現在の実現されたイベントhear
   static function void waitFor(integer event_type);
   static function void timedWaitFor(integer event_type,integer expireTime);
   // get event result:イベント結果をストリングで受けること
   // tip:save to another var:その時その時呼ばずに変数に保存して使うこと。

  static function string result(integer event_type);
   static function void waitIfRunning(string questName);
};

String {
  // check whether two strings are matched : caseinsensitive
   // 文字列比較:英文字時大小文字無視する
   static function boolean  match(string a, string b);
   // check whether two strings are matched : casesensitive
   // 文字列比較:英戊子大小文字区分する
   static function boolean casematch(string a, string b);
   // check whether stringA contains stringB
   // 一番目の文字列が二度材文字列を含むのかテスト
   static function boolean contains(string a, string b);
   // return joined string. e.g) "this" + "that" -> "thisthat"
   //  二つの文字列をハム打ったのをリターンe.g) "ニャム" + "ニャム" -> "もぐもぐ"
   static function string join(string a, string b);
   // return splitted string with given delimiter.
   // front position is 0 and post position is 1
   // 문자열에서 주어진 델리미터의 문자열을 추출
   // position이 0이면 잘라서 앞의 것을, 1이면 뒤의 것을 리턴
   static function string split(string delim, integer position, string source);
   // make string to integer. e.g) "1233" -> 1233
   // 숫자형태의 문자열을 숫자로 만든다. e.g) "1233" -> 1233
   static function integer toInteger(string a);
   // return length of string
   // 문자열의 길이를 리턴함
   static function integer length(string a);

  static function string addObjectiveSuffix(string str);
   static function string addSubjectiveSuffix(string str);
   static function string addDescriptiveSuffix(string str);
   static function string addConjunctiveSuffix(string str);
};

Integer {
  // make string from integer. e.g) 1234 -> "1234"
   // 숫자에서 문자열을 만든다. e.g) 1234 -> "1234"
   static function string toString(integer i);
};


使用例など

随時情報追加お願い致します。

  • 最終更新:2016-08-12 14:21:53

このWIKIを編集するにはパスワード入力が必要です

認証パスワード