Logo
クラス | 公開型 | 公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 静的公開変数類 | プロパティ | 全メンバ一覧
Yukar.Common.GameData.Party クラス

パーティに関するセーブ情報を格納するクラス [詳解]

Yukar.Common.GameData.Party の継承関係図
Yukar.Common.GameData.IGameDataItem

クラス

class ChangedGraphic
class ItemStack
class JointInfo
class MapProperty

公開型

enum JointTarget { RIGHT_HAND , LEFT_HAND , BODY }
enum JointType { REMOVED , EQUIP , SPECIFIC }

公開メンバ関数

Party (Catalog catalog)
Common.GameData.Hero GetHero (Guid inId, bool autoAdd=true)
int GetMoney ()
void SetMoney (int value)
void AddMoney (int value)
void SubtractMoney (int value)
int GetItemNum (Guid guid, bool includeEquipped=false)
void SetItemNum (Guid guid, int num)
void AddItem (Guid guid, int num)
void RemoveItem (ItemStack item)
void AddCast (Guid guid)
int checkInventoryEmptyNum ()
Common.GameData.Hero SetTrainer (Common.Rom.Cast rom)
Common.GameData.Hero AddMember (Common.Rom.Cast rom, bool searchFromOthers=false)
void AddReserve (Common.Rom.Cast rom, bool searchFromOthers=false, bool addNew=false)
bool RemoveMember (Guid guid, bool moveToReserve)
bool RemoveMember (int inIndex)
bool ExistMember (Guid guid)
bool ExistInReserve (Guid guid)
Hero GetMember (Guid guid, bool includeOthers=false)
Hero GetMember (int index)
List< Hero > GetMembers (List< Rom.Script.Attr > inAttrList, ref int inIndex)
void ClearMember ()
Hero GetPlayer (int index)
Hero GetPlayerInMenu (int index)
Hero SetPlayer (Hero player, int index)
bool CanAddPlayer ()
bool AddPlayer (Hero player)
bool RemovePlayer (Hero player)
Hero GetReserve (int index)
Hero SetReserve (Hero player, int index)
bool CanAddReserve ()
bool AddReserve (Hero player)
bool RemoveOthers (Guid id)
bool RemoveOthers (Hero player)
bool RemoveReserve (Hero player)
bool MoveToReserves (Hero player)
bool MoveToPlayers (Hero player)
string getHeroName (Guid guid)
void setHeroName (Guid guid, string newName)
void AddChangedGraphic (Guid hero, ChangedGraphic data)
Common.Resource.Texture getMemberFaceResource (int index)
Guid getMemberFace (int index)
Guid getOtherGraphic (int index)
Icon.Ref getMemberIcon (int index)
Icon.Ref getOtherIcon (int index)
Common.Resource.Texture getOtherFaceResource (int index)
Guid getOtherFace (int index)
Guid getMemberGraphic (int index)
Texture getMemberFaceResource (Rom.Cast rom)
Guid getMemberFace (Rom.Cast rom)
Guid getMemberGraphic (Rom.Cast rom)
Texture getPlayerFaceResource (int index)
Guid getPlayerFace (int index)
Guid getPlayerGraphic (int index)
bool removeJoint (Guid heroGuid, JointTarget target)
bool addJoint (Guid heroGuid, JointTarget target, GfxResourceBase item, bool rotate)
bool addJoint (Guid heroGuid, JointTarget target)
Dictionary< JointTarget, JointInfo.JointEntry > GetJoinInfoEntries (Guid heroGuid)
bool verifyJoint (Catalog catalog)
bool isGameOver ()
int CalcConditionFirstAttackRate ()
パーティ全体の状態から、先制攻撃の倍率を計算(+値:先制攻撃する確率、-値:先制攻撃される確率)
int CalcConditionRewardRate ()
パーティ全体の状態から、報酬の倍率を計算
int CalcConditionDropItemRate ()
パーティ全体の状態から、ドロップアイテムの倍率を計算
int CalcConditionEncountRate ()
パーティ全体の状態から、エンカウント数の倍率を計算
bool IsEncountDisabled ()
エンカウントが無効か?
int CalcConditionWalkSpeedRate ()
パーティ全体の状態から、移動速度を計算
bool isOKToConsumptionItem (Guid guid, int amount)
指定アイテムが指定個数インベントリにあるかどうかをチェックする [詳解]
- 基底クラス Yukar.Common.GameData.IGameDataItem に属する継承公開メンバ関数
void save (BinaryWriter writer)
void load (Catalog catalog, BinaryReader reader)

静的公開メンバ関数

static int GetExp (int growthRate, int level)
static int GetLevelMax ()
static Common.GameData.Hero createHeroFromRom (Catalog catalog, Rom.Cast rom, int level)
static Common.GameData.Hero createHeroFromRom (Catalog catalog, Rom.Cast rom)
static Common.GameData.CastJob createCastJobFromRom (Catalog catalog, Rom.Job rom, bool isSideJob, int exp=0)

公開変数類

int maxMemberCount = 8
int maxDisplayMemberCount = 8

静的公開変数類

const int MAX_PARTY = 8
const int MAX_ITEM = 99
const int MAX_MONEY = 9999999

プロパティ

List< Hero > Players [get]
List< Hero > Reserves [get]
bool ForceOnlyPlayersInMenu [set]
List< Hero > PlayersInMenu [get]
Hero Trainer [get, set]
List< ItemStack > Items [get]
float Scale [get, set]
Dictionary< Guid, int > ItemDict [get]
List< Guid > FindedCasts [get]
int MemberCount [get]
int PlayerCount [get]
int PlayerCountInMenu [get]
int ReserveCount [get]

詳解

パーティに関するセーブ情報を格納するクラス

メソッド詳解

isOKToConsumptionItem()

bool Yukar.Common.GameData.Party.isOKToConsumptionItem ( Guid guid,
int amount
)

指定アイテムが指定個数インベントリにあるかどうかをチェックする

引数
guid
amount
戻り値

このクラス詳解は次のファイルから抽出されました: