internal GameObjectCollection(AssetLoadContext loadContext, Player civilianPlayer, Navigation.Navigation navigation) { _loadContext = loadContext; _items = new List <GameObject>(); _civilianPlayer = civilianPlayer; _navigation = navigation; }
internal GameObjectCollection( GameContext gameContext, Player civilianPlayer, Navigation.Navigation navigation) { _gameContext = gameContext; _items = new List <GameObject>(); _nameLookup = new Dictionary <string, GameObject>(); _civilianPlayer = civilianPlayer; _navigation = navigation; }
public static void Reset() { Logger.DBLog.InfoFormat("Funky Reseting Bot"); //TownRunManager.townRunItemCache=new TownRunManager.TownRunCache(); Hero = new ActiveHero(); Equipment.RefreshEquippedItemsList(); Backpack.ClearBackpackItemCache(); Settings.PluginSettings.LoadSettings(); Targeting = new TargetingClass(); Navigation = new Navigation.Navigation(); }
internal GameObjectCollection( AssetLoadContext loadContext, Player civilianPlayer, Navigation.Navigation navigation, Scene3D scene) { _loadContext = loadContext; _items = new List <GameObject>(); _nameLookup = new Dictionary <string, GameObject>(); _civilianPlayer = civilianPlayer; _navigation = navigation; _scene = scene; }
internal GameObjectCollection( GameContext gameContext, Player civilianPlayer, Navigation.Navigation navigation) { _gameContext = gameContext; _items = new Dictionary <uint, GameObject>(); _nameLookup = new Dictionary <string, GameObject>(); _civilianPlayer = civilianPlayer; _destroyList = new List <uint>(); _createList = new List <GameObject>(); _navigation = navigation; _nextObjectId = 0; }
// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { Forms.Init(); _window = new UIWindow(UIScreen.MainScreen.Bounds); var navigation = new Navigation.Navigation(); AppBase = CreateApp(); LoadApplication(AppBase); AppBase.InitializeContainer(builder => { builder.RegisterType<LocalServerDiscovery>().As<ILocalServerDiscovery>().SingleInstance(); builder.RegisterType<Contacts.Contacts>().As<IContacts>().SingleInstance(); builder.RegisterType<ImageHelper>().As<IImageHelper>().SingleInstance(); builder.RegisterType<KeyboardHelper>().As<IKeyboardHelper>().SingleInstance(); builder.RegisterType<SocialMediaConnections>().As<ISocialMediaConnections>().SingleInstance(); builder.RegisterType<InAppPurchase>().As<IInAppPurchase>().SingleInstance(); builder.RegisterType<Share>().As<IShare>().SingleInstance(); builder.RegisterInstance(new UriHelper(app)).As<IUriHelper>().SingleInstance(); builder.RegisterInstance(navigation).As<INavigation>().SingleInstance(); OnInitializeContainer(builder); }); _applicationEvents = AppBase.ComponentContext.Resolve<IApplicationEvents>(); _window.RootViewController = AppBase.GetMainPage().CreateViewController(); navigation.RootViewController = _window.RootViewController; _window.MakeKeyAndVisible(); return true; }
public static void Reset() { Logger.DBLog.InfoFormat("Funky Reseting Bot"); //TownRunManager.townRunItemCache=new TownRunManager.TownRunCache(); Hero = new ActiveHero(); Equipment.RefreshEquippedItemsList(); Backpack.ClearBackpackItemCache(); Settings.PluginSettings.LoadSettings(); Targeting = new TargetingClass(); Navigation = new Navigation.Navigation(); }