RPG Maker Unite version 1.00.00
Generated by Doxygen 1.9.6
 
Loading...
Searching...
No Matches
RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop Class Reference

戦闘シーンでの[敵グループ]を定義したクラス More...

Public Member Functions

override List< GameBattlerMembers ()
 敵データ(GameBattler)
 
 GameTroop (string troopId)
 コンストラクタ
 
void Setup (string troopId)
 初期設定
 
void MakeUniqueNames ()
 全[敵キャラ]に(A〜Zを割り振って)固有名をつける
 
ReadOnlyCollection< string > LetterTable ()
 名前の接尾辞(A〜Z)を配列で返す
 
List< string > EnemyNames ()
 [敵キャラ]の名前を配列で返す
 
bool MeetsConditions (EventBattleDataModel.EventBattlePage page)
 指定ページが条件に合っているか
 
void SetupBattleEvent ()
 バトルイベントの準備
 
void IncreaseTurn ()
 ターンを進める
 
int ExpTotal ()
 [敵キャラ]の合計EXPを返す
 
int GoldTotal ()
 [敵キャラ]からの合計取得金額を返す
 
int GoldRate ()
 プレイヤーパーティが持つ金額の取得倍率を返す。スキルやアイテムの効果で上下する
 
List< GameItemMakeDropItems ()
 ドロップアイテムを作成して配列で返す
 
bool IsEventRunning ()
 イベント実行中かどうかを返却する
 
void StartCommonEvent (EventDataModel eventDataModelData, EventBattleDataModel eventBattleData)
 
- Public Member Functions inherited from RPGMaker.Codebase.Runtime.Battle.Objects.GameUnit
bool InBattle ()
 戦闘中か
 
virtual List< GameBattlerMembers ()
 戦闘中のバトラー生死問わず全て配列で返す
 
virtual List< GameBattlerAliveMembers ()
 生存しているバトラーを配列で返す
 
virtual List< GameBattlerDeadMembers ()
 死亡しているバトラーを配列で返す
 
List< GameBattlerMovableMembers ()
 動ける(死亡や麻痺などでない)バトラーを配列で返す
 
void ClearActions ()
 アクションを取り消す
 
double Agility ()
 ユニットの素早さを返す
 
double TgrSum ()
 生きているメンバーの[狙われ率]の合計を返す
 
GameBattler RandomTarget ()
 含まれるバトラーからランダムに1体を返す
 
GameBattler RandomDeadTarget ()
 死亡したバトラーからランダムに1体を返す
 
GameBattler SmoothTarget (int index)
 指定番号のメンバーを優先して生きているメンバーを返す
 
GameBattler SmoothDeadTarget (int index)
 指定番号のメンバーを優先して死亡しているメンバーを返す
 
void ClearResults ()
 アクションの結果を取り消す
 
void OnBattleStart ()
 戦闘開始時に呼ばれるハンドラ
 
void OnBattleEnd ()
 戦闘終了時に呼ばれるハンドラ
 
void MakeActions ()
 戦闘行動を作成する
 
void Select (GameBattler activeMember)
 指定されたバトラーを選択する
 
bool IsAllDead ()
 全バトラーが死亡したか
 
GameBattler SubstituteBattler ()
 身代わりのバトラーを返す
 

Static Public Attributes

static readonly ReadOnlyCollection< string > LetterTableHalf
 [static] 名前の接尾辞(A〜Zの半角記号)
 
static readonly ReadOnlyCollection< string > LetterTableFull
 [static] 名前の接尾辞(A〜Zの全角記号)
 

Properties

TroopDataModel Troop [get, set]
 敵グループデータ
 
List< GameEnemyEnemies = new List<GameEnemy>() [get]
 敵データ
 
int TurnCount [get, set]
 ターン数
 
bool IsRunningCommon [get, set]
 コモンイベントを実行中かどうか
 
List< BattleEventCommandChainLauncherEventManager [get]
 

Detailed Description

戦闘シーンでの[敵グループ]を定義したクラス

Constructor & Destructor Documentation

◆ GameTroop()

RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.GameTroop ( string  troopId)

コンストラクタ

Parameters
troopId

Member Function Documentation

◆ EnemyNames()

List< string > RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.EnemyNames ( )

[敵キャラ]の名前を配列で返す

Returns

◆ ExpTotal()

int RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.ExpTotal ( )

[敵キャラ]の合計EXPを返す

Returns

◆ GoldRate()

int RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.GoldRate ( )

プレイヤーパーティが持つ金額の取得倍率を返す。スキルやアイテムの効果で上下する

Returns

◆ GoldTotal()

int RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.GoldTotal ( )

[敵キャラ]からの合計取得金額を返す

Returns

◆ IsEventRunning()

bool RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.IsEventRunning ( )

イベント実行中かどうかを返却する

Returns

◆ LetterTable()

ReadOnlyCollection< string > RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.LetterTable ( )

名前の接尾辞(A〜Z)を配列で返す

Returns

◆ MakeDropItems()

List< GameItem > RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.MakeDropItems ( )

ドロップアイテムを作成して配列で返す

Returns

◆ MeetsConditions()

bool RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.MeetsConditions ( EventBattleDataModel::EventBattlePage  page)

指定ページが条件に合っているか

Parameters
page
Returns

◆ Members()

override List< GameBattler > RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.Members ( )
virtual

敵データ(GameBattler)

Returns

Reimplemented from RPGMaker.Codebase.Runtime.Battle.Objects.GameUnit.

◆ Setup()

void RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.Setup ( string  troopId)

初期設定

Parameters
troopId

◆ SetupBattleEvent()

void RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.SetupBattleEvent ( )

バトルイベントの準備

Returns

Member Data Documentation

◆ LetterTableFull

readonly ReadOnlyCollection<string> RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.LetterTableFull
static
Initial value:
= new List<string>
{
"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M",
"N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"
}.AsReadOnly()

[static] 名前の接尾辞(A〜Zの全角記号)

◆ LetterTableHalf

readonly ReadOnlyCollection<string> RPGMaker.Codebase.Runtime.Battle.Objects.GameTroop.LetterTableHalf
static
Initial value:
= new List<string>
{
" A", " B", " C", " D", " E", " F", " G", " H", " I", " J", " K", " L", " M",
" N", " O", " P", " Q", " R", " S", " T", " U", " V", " W", " X", " Y", " Z"
}.AsReadOnly()

[static] 名前の接尾辞(A〜Zの半角記号)