Beispiel #1
0
        public override void Execute(INotification notification)
        {
            mSettingDataProxy = (Init_SettingDataProxy)BingoFacadeNamespace.BingoFacade.Instance.RetrieveProxy(Define.Proxy.Init_SettingDataProxy);

            isSettingFileExist = mSettingDataProxy.CheckSettingFileExist();


            SendNotification(Define.Notification.Init_LoadLoginNotify);
        }
        public override void Execute(INotification notification)
        {
            Debug.Log("TestReadSettingFileCommnad - Execute()");

            mInitSettingDataProxy = (Init_SettingDataProxy)BingoFacadeNamespace.BingoFacade.Instance.RetrieveProxy(Define.Proxy.Init_SettingDataProxy);


            SettingDataDataObject.InitSettingData mInitSettingData = new SettingDataDataObject.InitSettingData();
            mInitSettingData.token = "Jumbo is Goooooooooooood!!!!!";
            mInitSettingDataProxy.WriteSettingFile(mInitSettingData);

            mInitSettingData.token = string.Empty;

            Debug.Log("mInitSettingData.token_SetEmpty: " + mInitSettingData.token);

            mInitSettingData = mInitSettingDataProxy.ReadSettingFile();

            Debug.Log("mInitSettingData.token_LoadFromSettingData: " + mInitSettingData.token);
        }