IA2O33JCJVSJ3IVBBHX2XQU4BCPL3X6JDDZ2R2KNGUFPWXAUKO7QC
QZXURLSF73UL67TIXDHMVS7DCFZLQJAPJ6BAGRGXOHH46VMNKGPQC
VZRSH4U473FCZOP5EXURPXXN5J6F3ZLT435YY7A2JHLG2ZZB5KLQC
M2C63XUU3TKYAUPPSPEFVF4CMBQMCVLZATANFWQW35MMYNRB2SEAC
FIMVA3BI72IWMBRN5T3PKDCKSJW667BH25INKDWSPWGHLRKCNAPAC
5I5QA3YK5G5QQCXMSDOEAX3A74LVXV7PYWAIHMLFANR2GUFWMKGQC
MML56TWYWB6SUY5JEWHG2PNLAH3JY72PGCEXIGOYE54EAC2WSWBAC
O236B5LO6PHJ4TPZGYXDVSLB5EGXXRRLYYVWI46DPL5LEGXEIHZQC
SXUEBCCDPGKZIWBSRNELNL75BHYDNWLWXU6QOKYWIWFPLWTOIHHQC
CD5FF75KTOBTMVMTMCKMR6F5DFKOF26I5K43ITNHGBI3ZAZHA4RAC
sb.Append(String.Format($"PrintEquipedWeaponDebug (equipedWeapon = {_equippedWeapon.name})"));
foreach (var form in _equippedWeapon.GetCompatibleForms()) {
sb.Append(String.Format($", (form = {form.name})"));
}
print(sb);
sb.Clear();
sb.Append(String.Format($"PrintEquipedWeaponDebug knownForms = ("));
foreach (var form in _knownForms) {
sb.Append(String.Format($" {form.name}"));
}
sb.Append(" )");
print(sb);
}
}
public MoveToAction(Weaver unit, Vector3 target) {
if (unit == null) {
throw new ArgumentNullException("unit");
}
if (unit.TryGetComponent(out _agent) == false) {
throw new ArgumentException("Missing NavMeshAgent", "unit");
}
_lastTargetPosition = target;
_originalStoppingDistance = _agent.stoppingDistance;
_desiredStoppingDistance = _agent.stoppingDistance;
}
CreateWeaveSelectionButtons(watchedRuneWeavingBank);
CreateWeaveSelectionButtons(watchedRuneWeavingBank, _watchedWeaver);
}
}
void PlayerKeyActions_OnUnitSelected(object sender, UnitActionArgs unitSelectedArgs) {
if ((unitSelectedArgs.UnitTransform.GetComponent<PartyMember>() != null) && unitSelectedArgs.UnitTransform.TryGetComponent<Weaver>(out var weaver)) {
Clear();
CreateWeaveSelectionButtons(watchedRuneWeavingBank, weaver);
void CreateWeaveSelectionButtons(RuneWeavingBank bank) {
void PartyMemberPortrait_OnPartyMemberSelected(object sender, PartyMemberSelectedArgs partyMemberSelectedArgs) {
if (partyMemberSelectedArgs.PartyMember.TryGetComponent<Weaver>(out var weaver)) {
Clear();
CreateWeaveSelectionButtons(watchedRuneWeavingBank, weaver);
}
}
void CreateWeaveSelectionButtons(RuneWeavingBank bank, Weaver watchedWeaver) {
_watchedWeaver = watchedWeaver;