Logo
静的公開メンバ関数 | 全メンバ一覧
Yukar.Common.VariableUtils クラス

変数ボックスに関する各種操作を行うユーティリティクラス [詳解]

静的公開メンバ関数

static void addUsingVariableIndexList (Catalog catalog, string noname)
 
static void addUsingVariableIndexListImpl (Catalog catalog, Event ev, string noname)
 
static bool isVariableUsing (Catalog catalog, VariableDefs.Entry entry)
 
static void ReplaceScript (VariableDefs.Entry entry, string newName, Script script, Guid evGuid)
 
static void ReplaceCondition (VariableDefs.Entry entry, string newName, List< Event.Condition > condList, Guid evGuid)
 
static void replaceVariableName (Catalog catalog, VariableDefs.Entry entry, string newName)
 
static void bindAttrsForTemplateConverted (Catalog catalog, Event ev)
 イベントテンプレートから通常イベントへの変換時に呼ぶ。 addUsingVariableIndexListImpl で作成済みのエントリを参照して、 旧 index 形式の IntAttr を VariableAttr / LocalVariableAttr に確定し、 シート条件の index も name / local に置き換える。 以降は名前ベース参照になるため、index→entry 解決のズレで選択が外れる事を防ぐ。 SGB データ取り込み経路では呼ばないこと。 [詳解]
 
static void addUsingVariableIndexList (Catalog catalog, Event ev, string noname, VariableDefs hintDefs=null)
 

詳解

変数ボックスに関する各種操作を行うユーティリティクラス

メソッド詳解

◆ addUsingVariableIndexList() [1/2]

static void Yukar.Common.VariableUtils.addUsingVariableIndexList ( Catalog  catalog,
Event  ev,
string  noname,
VariableDefs  hintDefs = null 
)
static

◆ addUsingVariableIndexList() [2/2]

static void Yukar.Common.VariableUtils.addUsingVariableIndexList ( Catalog  catalog,
string  noname 
)
static

◆ addUsingVariableIndexListImpl()

static void Yukar.Common.VariableUtils.addUsingVariableIndexListImpl ( Catalog  catalog,
Event  ev,
string  noname 
)
static

◆ bindAttrsForTemplateConverted()

static void Yukar.Common.VariableUtils.bindAttrsForTemplateConverted ( Catalog  catalog,
Event  ev 
)
static

イベントテンプレートから通常イベントへの変換時に呼ぶ。 addUsingVariableIndexListImpl で作成済みのエントリを参照して、 旧 index 形式の IntAttr を VariableAttr / LocalVariableAttr に確定し、 シート条件の index も name / local に置き換える。 以降は名前ベース参照になるため、index→entry 解決のズレで選択が外れる事を防ぐ。 SGB データ取り込み経路では呼ばないこと。

◆ isVariableUsing()

static bool Yukar.Common.VariableUtils.isVariableUsing ( Catalog  catalog,
VariableDefs.Entry  entry 
)
static

◆ ReplaceCondition()

static void Yukar.Common.VariableUtils.ReplaceCondition ( VariableDefs.Entry  entry,
string  newName,
List< Event.Condition condList,
Guid  evGuid 
)
static

◆ ReplaceScript()

static void Yukar.Common.VariableUtils.ReplaceScript ( VariableDefs.Entry  entry,
string  newName,
Script  script,
Guid  evGuid 
)
static

◆ replaceVariableName()

static void Yukar.Common.VariableUtils.replaceVariableName ( Catalog  catalog,
VariableDefs.Entry  entry,
string  newName 
)
static