[パーティ]を定義したクラス More...
Public Member Functions | |
void | SetupStartingMembersFromDataBase () |
戦闘シーンのプレビューに使用するため、プレビュー用のアクター設定 | |
int | Size () |
パーティメンバーの数を返す | |
bool | IsEmpty () |
パーティメンパーが0人か | |
override List< GameBattler > | Members () |
戦闘中のバトラー生死問わず全て配列で返す | |
List< GameActor > | AllMembers () |
パーティの全アクターを配列で返す | |
List< GameActor > | BattleMembers () |
戦闘に参加する全アクターを配列で返す | |
int | MaxBattleMembers () |
戦闘参加メンバーの最大数(規定値:4)を返す | |
GameBattler | Leader () |
リーダーであるアクターを返す | |
void | ReviveBattleMembers () |
全戦闘参加メンバーを蘇生 | |
IEnumerable< GameItem > | Items () |
アイテム(武器・防具を含まない)を配列で返す | |
IEnumerable< GameItem > | Weapons () |
パーティが持つ全武器を配列で返す | |
IEnumerable< GameItem > | Armors () |
パーティが持つ全防具を配列で返す | |
IEnumerable< GameItem > | EquipItems () |
パーティが持つ全装備可能アイテムを配列で返す | |
IEnumerable< GameItem > | AllItems () |
パーティが持つ全アイテムを配列で返す | |
Dictionary< string, int > | ItemContainer (GameItem item) |
指定アイテムが含まれるカテゴリ全体を配列で返す。 [アイテム][武器][防具]のいずれかのカテゴリ。 | |
string | Name () |
パーティの名前を返す。 ひとりの時は「アクター名」、複数いる時は「アクター名たち」(規定値) | |
int | HighestLevel () |
パーティメンバー中最高のレベルを返す | |
void | GainGold (int amount) |
指定金額ぶん所持金を増やす | |
int | MaxGold () |
最大所持金(規定値:99999999)を返す | |
int | NumItems (GameItem item) |
パーティが持っている指定アイテムの数を返す | |
int | MaxItems (GameItem item) |
指定アイテムの最大数(規定値:99)を返す | |
bool | HasItem (GameItem item, bool includeEquip=false) |
指定アイテムをパーティが持っているか | |
bool | IsAnyMemberEquipped (GameItem item) |
指定アイテムをいずれかのメンバーが装備しているか | |
void | GainItem (GameItem item, int amount, bool includeEquip=false) |
指定アイテムを増やす | |
void | DiscardMembersEquip (GameItem item, int amount) |
指定の装備を捨てる | |
void | LoseItem (GameItem item, int amount, bool includeEquip=false) |
指定アイテムを減らす | |
void | ConsumeItem (GameItem item) |
指定アイテムを消費 | |
bool | CanUse (GameItem item) |
指定アイテムが使用可能か | |
bool | CanInput () |
入力可能か | |
new bool | IsAllDead () |
全バトラーが死亡したか | |
GameItem | LastItem () |
最後に選択されたアイテムを返す | |
void | SetLastItem (GameItem item) |
指定アイテムを最後のアイテムに設定 | |
bool | PartyAbility (int abilityId) |
指定[パーティ能力]を持つアクターがいるか | |
bool | HasEncounterHalf () |
[エンカウント半減]のパーティ能力を持つか | |
bool | HasEncounterNone () |
[エンカウント無効]のパーティ能力を持つか | |
bool | HasCancelSurprise () |
[不意打ち無効]のパーティ能力を持つか | |
bool | HasRaisePreemptive () |
[先制攻撃率アップ]のパーティ能力を持つか | |
bool | HasGoldDouble () |
[獲得金額2倍]のパーティ能力を持つか | |
bool | HasDropItemDouble () |
[アイテム入手率2倍]のパーティ能力を持つか | |
double | RatePreemptive (double troopAgi) |
指定敵素早さに対して先制攻撃の確率を返す | |
double | RateSurprise (double troopAgi) |
指定敵素早さに対して不意打ちの確率を返す | |
void | PerformVictory () |
パーティ全体の勝利モーションを開始 | |
void | PerformEscape () |
パーティ全体の逃亡モーションを開始 | |
void | RemoveBattleStates () |
全パーティメンバーのステートを削除 | |
void | RequestMotionRefresh () |
全パーティメンバーのモーションを初期化 | |
void | ResetPartyItems () |
所持アイテム(アイテム、武器、防具)の再設定 | |
![]() | |
bool | InBattle () |
戦闘中か | |
virtual List< GameBattler > | Members () |
戦闘中のバトラー生死問わず全て配列で返す | |
virtual List< GameBattler > | AliveMembers () |
生存しているバトラーを配列で返す | |
virtual List< GameBattler > | DeadMembers () |
死亡しているバトラーを配列で返す | |
List< GameBattler > | MovableMembers () |
動ける(死亡や麻痺などでない)バトラーを配列で返す | |
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 () |
身代わりのバトラーを返す | |
Properties | |
int | Gold [get] |
所持金 | |
List< GameActor > | Actors [get] |
GameActor. | |
[パーティ]を定義したクラス
IEnumerable< GameItem > RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.AllItems | ( | ) |
パーティが持つ全アイテムを配列で返す
List< GameActor > RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.AllMembers | ( | ) |
パーティの全アクターを配列で返す
IEnumerable< GameItem > RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.Armors | ( | ) |
パーティが持つ全防具を配列で返す
List< GameActor > RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.BattleMembers | ( | ) |
戦闘に参加する全アクターを配列で返す
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.CanInput | ( | ) |
入力可能か
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.CanUse | ( | GameItem | item | ) |
指定アイテムが使用可能か
item |
void RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.ConsumeItem | ( | GameItem | item | ) |
指定アイテムを消費
item |
void RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.DiscardMembersEquip | ( | GameItem | item, |
int | amount | ||
) |
指定の装備を捨てる
item | |
amount |
IEnumerable< GameItem > RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.EquipItems | ( | ) |
パーティが持つ全装備可能アイテムを配列で返す
void RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.GainGold | ( | int | amount | ) |
指定金額ぶん所持金を増やす
amount |
void RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.GainItem | ( | GameItem | item, |
int | amount, | ||
bool | includeEquip = false |
||
) |
指定アイテムを増やす
item | |
amount | |
includeEquip |
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.HasCancelSurprise | ( | ) |
[不意打ち無効]のパーティ能力を持つか
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.HasDropItemDouble | ( | ) |
[アイテム入手率2倍]のパーティ能力を持つか
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.HasEncounterHalf | ( | ) |
[エンカウント半減]のパーティ能力を持つか
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.HasEncounterNone | ( | ) |
[エンカウント無効]のパーティ能力を持つか
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.HasGoldDouble | ( | ) |
[獲得金額2倍]のパーティ能力を持つか
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.HasItem | ( | GameItem | item, |
bool | includeEquip = false |
||
) |
指定アイテムをパーティが持っているか
item | |
includeEquip |
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.HasRaisePreemptive | ( | ) |
[先制攻撃率アップ]のパーティ能力を持つか
int RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.HighestLevel | ( | ) |
パーティメンバー中最高のレベルを返す
new bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.IsAllDead | ( | ) |
全バトラーが死亡したか
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.IsAnyMemberEquipped | ( | GameItem | item | ) |
指定アイテムをいずれかのメンバーが装備しているか
item |
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.IsEmpty | ( | ) |
パーティメンパーが0人か
Dictionary< string, int > RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.ItemContainer | ( | GameItem | item | ) |
指定アイテムが含まれるカテゴリ全体を配列で返す。 [アイテム][武器][防具]のいずれかのカテゴリ。
item |
IEnumerable< GameItem > RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.Items | ( | ) |
アイテム(武器・防具を含まない)を配列で返す
GameItem RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.LastItem | ( | ) |
最後に選択されたアイテムを返す
GameBattler RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.Leader | ( | ) |
リーダーであるアクターを返す
void RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.LoseItem | ( | GameItem | item, |
int | amount, | ||
bool | includeEquip = false |
||
) |
指定アイテムを減らす
item | |
amount | |
includeEquip |
int RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.MaxBattleMembers | ( | ) |
戦闘参加メンバーの最大数(規定値:4)を返す
int RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.MaxGold | ( | ) |
最大所持金(規定値:99999999)を返す
int RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.MaxItems | ( | GameItem | item | ) |
指定アイテムの最大数(規定値:99)を返す
item |
|
virtual |
string RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.Name | ( | ) |
パーティの名前を返す。 ひとりの時は「アクター名」、複数いる時は「アクター名たち」(規定値)
int RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.NumItems | ( | GameItem | item | ) |
パーティが持っている指定アイテムの数を返す
item |
bool RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.PartyAbility | ( | int | abilityId | ) |
指定[パーティ能力]を持つアクターがいるか
abilityId |
double RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.RatePreemptive | ( | double | troopAgi | ) |
指定敵素早さに対して先制攻撃の確率を返す
troopAgi |
double RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.RateSurprise | ( | double | troopAgi | ) |
指定敵素早さに対して不意打ちの確率を返す
troopAgi |
void RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.SetLastItem | ( | GameItem | item | ) |
指定アイテムを最後のアイテムに設定
item |
int RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.Size | ( | ) |
パーティメンバーの数を返す
IEnumerable< GameItem > RPGMaker.Codebase.Runtime.Battle.Objects.GameParty.Weapons | ( | ) |
パーティが持つ全武器を配列で返す