public spell_form() { StaticDataLoader loader = new StaticDataLoader { }; loader.loadAll(); InitializeComponent(); InitializeLists(); validTargetsToolTip.SetToolTip(valid_targets_listbox, "A valid target is not only something you can cast at in the\ntargeting menu, but something that is affected by its spell effect."); messageToolTip.SetToolTip(spell_message_textbox, "This is the message that displays in the log when the spell is cast."); energySourceToolTip.SetToolTip(energy_type_combobox, "The type of energy used by the caster in order to cast this spell.\nIf the caster does not have any of this energy available, it will not be castable."); spelltypeBindingSource.Add(main_spell); energy_type_combobox.SelectedIndex = 0; effect_combobox.SelectedIndex = 0; damage_type_combobox.SelectedIndex = 0; sound_type_combobox.SelectedIndex = 0; }
void OnEnterGame() { //load XMLSaver.Load(); StaticDataLoader.Load(); ZoneManager.Instance.LoadData(); gameObject.AddComponent <HeadSpriteUtils> (); _timeStamp = GetTimeStamp(); _localTime = 0.0f; _lastSecond = false; _curTime = DateTime.Now; FrostRX.Start(this). Execute(() => { loading.gameObject.SetActive(false); }). Wait(4.0f). Execute(() => { loading.gameObject.SetActive(true); loading.SetAlpha(0.0f); }). AlphaFade(loading, 1.0f, 8.0f). ExecuteAfterTime(() => { OnSaveData(); }, 2.0f). Wait(2.0f). AlphaFade(loading, 0.0f, 8.0f). GoToBegin(); }
public static void Init() { Info = StaticDataLoader.ReadOneDataConfig <TEST_EXCEL_ARRAY>("test_excel"); }
public static void Init() { Info = StaticDataLoader.ReadOneDataConfig <BANK_CARD_ARRAY>("bank_card"); InitDict(); }
public static void Init() { Info = StaticDataLoader.ReadOneDataConfig <ACCOUNT_ARRAY>("account"); TransToSaveData(); }
public static void Init() { Info = StaticDataLoader.ReadOneDataConfig <ALBUM_ARRAY>("album"); TransToAlbumData(); }
public static void Init() { Info = StaticDataLoader.ReadOneDataConfig <BLOG_ARRAY>("blog"); TransToBlogData(); }
public static void Init() { Info = StaticDataLoader.ReadOneDataConfig <CONTENT_ARRAY>("content"); }
public static void Init() { Info = StaticDataLoader.ReadOneDataConfig <TWEET_ARRAY>("Tweet"); TransToTweetData(); }
public void RetrieveStaticJsonSuccessfully() { var rss = StaticDataLoader.GetStaticDataJson(); Assert.IsNotNull(rss); }
public static void Init() { Info = StaticDataLoader.ReadOneDataConfig <COMMENT_ARRAY>("Comment"); TransToCommentData(); }