コード例 #1
0
 // Use this for initialization
 void Start()
 {
     com = GetComponent <Computer>();
     ws  = GetComponent <WebSec>();
     mb  = GetComponent <MonitorBypass>();
     def = GetComponent <Defalt>();
 }
コード例 #2
0
    // Use this for initialization
    void Start()
    {
        Prompt = GameObject.Find("Prompts");
        System = GameObject.Find("System");

        ComAddress   = "S:/Settings";
        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        ep     = Prompt.GetComponent <ErrorProm>();
        def    = System.GetComponent <Defalt>();
        com    = System.GetComponent <Computer>();
        os     = System.GetComponent <OS>();
        desk   = System.GetComponent <Desktop>();
        ct     = System.GetComponent <CustomTheme>();
        mouse  = System.GetComponent <Mouse>();
        appman = System.GetComponent <AppMan>();
        ss     = System.GetComponent <ScreenSaver>();
        sc     = System.GetComponent <SoundControl>();

        TempName = "";
        TempPass = "";
        UpdateRezList();
        AddTime();
        SetPos();

        Scale = Customize.cust.UIScale;

        windowRect.x = Screen.width - windowRect.width - 1;
        windowRect.y = 50;
    }
コード例 #3
0
 void Start()
 {
     SysSoftware = GameObject.Find("System");
     com         = SysSoftware.GetComponent <Computer>();
     defalt      = SysSoftware.GetComponent <Defalt>();
     AfterStart();
 }
コード例 #4
0
    void Start()
    {
        SysSoftware = GameObject.Find("System");
        com         = SysSoftware.GetComponent <Computer>();
        defalt      = SysSoftware.GetComponent <Defalt>();
        fp          = SysSoftware.GetComponent <FileExplorer>();
        appman      = SysSoftware.GetComponent <AppMan>();

        PosCheck();

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        windowRect.width  = 300;
        windowRect.height = 300;

        ContextwindowRect.width = 100;

        CloseButton = new Rect(windowRect.width - 23, 2, 21, 21);

        if (GameControl.control.SoftwareVersion[1] == 0)
        {
            GameControl.control.SoftwareVersion[1] = 1;
        }
    }
コード例 #5
0
    // Progtive is the one at a time sequential cracker
    // Use this for initialization
    void Start()
    {
        Hardware        = GameObject.Find("Hardware");
        Prompts         = GameObject.Find("Prompts");
        SysSoftware     = GameObject.Find("System");
        HackingSoftware = GameObject.Find("Hacking");
        AppSoftware     = GameObject.Find("Applications");

        ep     = Prompts.GetComponent <ErrorProm>();
        com    = SysSoftware.GetComponent <Computer>();
        trace  = HackingSoftware.GetComponent <Tracer>();
        cmd    = SysSoftware.GetComponent <CLI>();
        defalt = SysSoftware.GetComponent <Defalt>();
        ib     = AppSoftware.GetComponent <InternetBrowser>();
        ws     = AppSoftware.GetComponent <WebSec>();
        cpu    = Hardware.GetComponent <CPU>();
        sc     = SysSoftware.GetComponent <SoundControl>();

        windowRect = new Rect(100, 100, 300, 200);

        CloseButton   = new Rect(windowRect.width - 23, 2, 21, 21);
        ExecuteButton = new Rect(45, 100, 60, 24);

        windowID = 99;
    }
コード例 #6
0
    void Start()
    {
        SysSoftware = GameObject.Find("System");
        com         = SysSoftware.GetComponent <Computer>();
        defalt      = SysSoftware.GetComponent <Defalt>();
        fp          = SysSoftware.GetComponent <FileExplorer>();
        appman      = SysSoftware.GetComponent <AppMan>();

        PosCheck();

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        windowRect.width  = 200;
        windowRect.height = 200;

        ContextwindowRect.width = 100;

        CloseButton = new Rect(windowRect.width - 23, 2, 21, 21);

        StartingDay = 1;


        DefaltTime.Day           = 1;
        DefaltTime.DayNumber     = 5;
        DefaltTime.Month         = 1;
        DefaltTime.LeapYearCount = 2;
        DefaltTime.Year          = 1970;
        DefaltTime.StartDay      = 5;

        CurrentTimeUpdate();
    }
コード例 #7
0
    // Progtive is the one at a time sequential cracker
    // Use this for initialization
    void Start()
    {
        Hardware        = GameObject.Find("Hardware");
        Prompts         = GameObject.Find("Prompts");
        SysSoftware     = GameObject.Find("System");
        HackingSoftware = GameObject.Find("Hacking");
        AppSoftware     = GameObject.Find("Applications");

        ep            = Prompts.GetComponent <ErrorProm>();
        com           = SysSoftware.GetComponent <Computer>();
        trace         = HackingSoftware.GetComponent <Tracer>();
        cmd           = SysSoftware.GetComponent <CLICommands>();
        defalt        = SysSoftware.GetComponent <Defalt>();
        ib            = AppSoftware.GetComponent <InternetBrowser>();
        ws            = AppSoftware.GetComponent <WebSec>();
        cpu           = Hardware.GetComponent <CPU>();
        sc            = SysSoftware.GetComponent <SoundControl>();
        windowRect.x  = Customize.cust.windowx[windowID];
        windowRect.y  = Customize.cust.windowy[windowID];
        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        DictionaryVersion = 1;


        windowRect.height = 130;
    }
コード例 #8
0
ファイル: NetViewer.cs プロジェクト: MrLucas265/LakeNet
    // Use this for initialization
    void Start()
    {
        SysSoftware = GameObject.Find("System");
        AppSoftware = GameObject.Find("Applications");
        appman      = SysSoftware.GetComponent <AppMan>();
        def         = SysSoftware.GetComponent <Defalt>();
        com         = SysSoftware.GetComponent <Computer>();
        Database    = GameObject.Find("Database");
        Minigames   = GameObject.Find("MiniGames");
        WebSearch();
        PosCheck();
        SetPos();
        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        if (ib.TempHistory.Count == 0)
        {
            ib.Home();
        }

        if (ib.AddressBar == "")
        {
            ib.AddressBar = "www.ping.com";
        }
    }
コード例 #9
0
ファイル: EmailClient.cs プロジェクト: MrLucas265/LakeNet
    // Use this for initialization
    void Start()
    {
        Missions      = GameObject.Find("Missions");
        SysSoftware   = GameObject.Find("System");
        def           = SysSoftware.GetComponent <Defalt>();
        com           = SysSoftware.GetComponent <Computer>();
        appman        = SysSoftware.GetComponent <AppMan>();
        cc            = Missions.GetComponent <CurContracts>();
        Title         = "Email - Contracts";
        showContracts = true;
        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        //GameControl.control.EmailData.Add (new EmailSystem ("Test", "Lucas", "N/A", "This is a test email", 0, 0, 0, false,EmailSystem.EmailType.Junk));

        MaxAttachmentSize = 20;

        RefreshList();

        PosCheck();

        ShowInbox();

        showFolders = true;

        SetPos();
    }
コード例 #10
0
ファイル: PurchasePrompt.cs プロジェクト: MrLucas265/LakeNet
 // Use this for initialization
 void Start()
 {
     com           = GetComponent <Computer>();
     def           = GetComponent <Defalt>();
     upg           = GetComponent <Upgrade>();
     native_height = Customize.cust.native_height;
     native_width  = Customize.cust.native_width;
 }
コード例 #11
0
ファイル: RezPrompt.cs プロジェクト: MrLucas265/LakeNet
 // Use this for initialization
 void Start()
 {
     com           = GetComponent <Computer>();
     def           = GetComponent <Defalt>();
     sc            = GetComponent <SoundControl>();
     native_height = Customize.cust.native_height;
     native_width  = Customize.cust.native_width;
     CloseButton   = new Rect(375, 5, 21, 21);
 }
コード例 #12
0
 // Use this for initialization
 void Start()
 {
     appman = GetComponent <AppMan>();
     KeywordList();
     keywordRecognizer = new KeywordRecognizer(keywords.Keys.ToArray());
     keywordRecognizer.OnPhraseRecognized += KeywordRecognizerOnPhaseRecognized;
     keywordRecognizer.Start();
     def = GetComponent <Defalt>();
 }
コード例 #13
0
ファイル: QuanOSDesktop.cs プロジェクト: MrLucas265/LakeNet
    // Use this for initialization
    void Start()
    {
        AppSoftware     = GameObject.Find("Applications");
        HackingSoftware = GameObject.Find("Hacking");
        SysSoftware     = GameObject.Find("System");
        //Computer = GameObject.Find("Computer");

        //System
        clk    = SysSoftware.GetComponent <Clock>();
        defalt = SysSoftware.GetComponent <Defalt>();
        am     = SysSoftware.GetComponent <AppMenu>();
        cmd    = SysSoftware.GetComponent <CLI>();
        com    = SysSoftware.GetComponent <Computer>();
        sc     = SysSoftware.GetComponent <SoundControl>();
        appman = SysSoftware.GetComponent <AppMan>();
        boot   = SysSoftware.GetComponent <Boot>();
        post   = SysSoftware.GetComponent <POST>();
        os     = SysSoftware.GetComponent <OS>();
        mouse  = SysSoftware.GetComponent <Mouse>();
        desk   = SysSoftware.GetComponent <Desktop>();

        //Applications
        al = AppSoftware.GetComponent <AccLog>();
        sm = AppSoftware.GetComponent <SystemMap>();
        ib = AppSoftware.GetComponent <InternetBrowser>();

        //Hacking
        prog  = HackingSoftware.GetComponent <Progtive>();
        trace = HackingSoftware.GetComponent <Tracer>();
        cy    = HackingSoftware.GetComponent <Descy>();
        ds    = HackingSoftware.GetComponent <DirSearch>();

        mb    = GetComponent <MissionBrow>();
        cc    = GetComponent <CurContracts>();
        sl    = GetComponent <SiteList>();
        note  = GetComponent <Notepad>();
        fav   = GetComponent <Favs>();
        tv    = GetComponent <TreeView>();
        mPass = GetComponent <MonitorBypass>();
        wsv   = GetComponent <WebSecViewer>();
        sdp   = GetComponent <ShutdownProm>();
        Audio = GetComponent <AudioSource>();

        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        Audio.volume = Customize.cust.Volume;
        DesktopY     = -50;
        StartTime    = 0.030f;
        Snap         = false;

        if (Size == 0)
        {
            Size = 21;
        }
    }
コード例 #14
0
ファイル: QuanOSAppMenu.cs プロジェクト: MrLucas265/LakeNet
    void Start()
    {
        SysSoftware     = GameObject.Find("System");
        AppSoftware     = GameObject.Find("Applications");
        HackingSoftware = GameObject.Find("Hacking");

        com  = SysSoftware.GetComponent <Computer>();
        ib   = AppSoftware.GetComponent <InternetBrowser>();
        note = AppSoftware.GetComponent <Notepad>();
        prog = HackingSoftware.GetComponent <Progtive>();
        al   = SysSoftware.GetComponent <AccLog>();

        trace = HackingSoftware.GetComponent <Tracer>();

        cy      = SysSoftware.GetComponent <Descy>();
        ds      = SysSoftware.GetComponent <DirSearch>();
        tv      = SysSoftware.GetComponent <TreeView>();
        al      = AppSoftware.GetComponent <AccLog>();
        cmd     = SysSoftware.GetComponent <CLI>();
        sm      = AppSoftware.GetComponent <SystemMap>();
        clk     = SysSoftware.GetComponent <Clock>();
        defalt  = SysSoftware.GetComponent <Defalt>();
        sc      = SysSoftware.GetComponent <SoundControl>();
        appmenu = SysSoftware.GetComponent <AppMenu>();
        appman  = SysSoftware.GetComponent <AppMan>();

        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        UpdateUI();
        for (Index = 0; Index < GameControl.control.ProgramFiles.Count; Index++)
        {
            if (GameControl.control.ProgramFiles[Index].Name == "Gateway")
            {
                TestCheck = true;
            }
        }

        if (Index >= GameControl.control.ProgramFiles.Count)
        {
            if (TestCheck == false)
            {
                Test();
            }
        }

        X     = -350;
        Speed = 600;

        windowID = appmenu.windowID;
    }
コード例 #15
0
ファイル: NotfiPrompt.cs プロジェクト: MrLucas265/LakeNet
 // Use this for initialization
 void Start()
 {
     Puter         = GameObject.Find("System");
     NotiSnd       = GameObject.Find("Notification");
     com           = Puter.GetComponent <Computer>();
     def           = Puter.GetComponent <Defalt>();
     sc            = NotiSnd.GetComponent <NotiSndControl>();
     native_height = Customize.cust.native_height;
     native_width  = Customize.cust.native_width;
     SetWindowPos();
 }
コード例 #16
0
 void Start()
 {
     Puter         = GameObject.Find("System");
     com           = Puter.GetComponent <Computer>();
     def           = Puter.GetComponent <Defalt>();
     sc            = Puter.GetComponent <SoundControl>();
     native_height = Customize.cust.native_height;
     native_width  = Customize.cust.native_width;
     CloseButton   = new Rect(378, 1, 21, 21);
     windowRect    = new Rect(100, 100, 400, 150);
 }
コード例 #17
0
 void Start()
 {
     Computer     = GameObject.Find("System");
     Applications = GameObject.Find("Applications");
     def          = Computer.GetComponent <Defalt>();
     email        = Applications.GetComponent <EmailClient>();
     windowRect.x = Customize.cust.windowx[windowID];
     windowRect.y = Customize.cust.windowy[windowID];
     //GameControl.control.LoginUser.Add("Agent" + def.GetRandomNumber(6,6));
     //GameControl.control.LoginPass.Add(def.GetRandomString(12,12));
 }
コード例 #18
0
ファイル: AIViewer.cs プロジェクト: MrLucas265/LakeNet
 // Use this for initialization
 void Start()
 {
     ai            = GameObject.Find("NPCs");
     go            = GameObject.Find("Computer");
     npcg          = ai.GetComponent <NPCGen>();
     com           = go.GetComponent <Computer>();
     def           = go.GetComponent <Defalt>();
     sc            = go.GetComponent <SoundControl>();
     native_height = Customize.cust.native_height;
     native_width  = Customize.cust.native_width;
     CloseButton   = new Rect(375, 5, 21, 21);
 }
コード例 #19
0
    void AfterStart()
    {
        def    = system.GetComponent <Defalt>();
        com    = system.GetComponent <Computer>();
        sc     = system.GetComponent <SoundControl>();
        cli    = GetComponent <CLICommands>();
        appman = GetComponent <AppMan>();

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        PosCheck();
    }
コード例 #20
0
ファイル: ErrorProm.cs プロジェクト: MrLucas265/LakeNet
 // Use this for initialization
 void Start()
 {
     Puter         = GameObject.Find("System");
     WindowHandel  = GameObject.Find("WindowHandel");
     com           = Puter.GetComponent <Computer>();
     def           = Puter.GetComponent <Defalt>();
     sc            = Puter.GetComponent <SoundControl>();
     appman        = Puter.GetComponent <AppMan>();
     winman        = WindowHandel.GetComponent <WindowManager>();
     native_height = Customize.cust.native_height;
     native_width  = Customize.cust.native_width;
     CloseButton   = new Rect(378, 1, 21, 21);
 }
コード例 #21
0
ファイル: FileUtility.cs プロジェクト: MrLucas265/LakeNet
 void Start()
 {
     db           = GameObject.Find("Database");
     WindowHandel = GameObject.Find("WindowHandel");
     SysSoftware  = GameObject.Find("System");
     apps         = GameObject.Find("Applications");
     com          = SysSoftware.GetComponent <Computer>();
     winman       = SysSoftware.GetComponent <WindowManager>();
     defalt       = SysSoftware.GetComponent <Defalt>();
     clic         = SysSoftware.GetComponent <CLICommandsV2>();
     dskman       = SysSoftware.GetComponent <DiskMan>();
     AfterStart();
 }
コード例 #22
0
ファイル: RemoteView.cs プロジェクト: MrLucas265/LakeNet
    // Use this for initialization
    void Start()
    {
        SysSoftware = GameObject.Find("System");
        AppSoftware = GameObject.Find("Applications");

        def       = SysSoftware.GetComponent <Defalt>();
        com       = SysSoftware.GetComponent <Computer>();
        Database  = GameObject.Find("Database");
        Minigames = GameObject.Find("MiniGames");
        WebSearch();
        //SetPos();
        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;
    }
コード例 #23
0
ファイル: InstallPrompt.cs プロジェクト: MrLucas265/LakeNet
 // Use this for initialization
 void Start()
 {
     Computer      = GameObject.Find("System");
     IconObject    = GameObject.Find("IconObject");
     Desktop       = GameObject.Find("Desktop");
     com           = Computer.GetComponent <Computer>();
     def           = Computer.GetComponent <Defalt>();
     sc            = Computer.GetComponent <SoundControl>();
     fu            = Computer.GetComponent <FileUtility>();
     native_height = Customize.cust.native_height;
     native_width  = Customize.cust.native_width;
     CloseButton   = new Rect(275, 5, 21, 21);
     FileLocation  = "";
 }
コード例 #24
0
    void Start()
    {
        Hardware        = GameObject.Find("Hardware");
        Prompts         = GameObject.Find("Prompts");
        SysSoftware     = GameObject.Find("System");
        HackingSoftware = GameObject.Find("Hacking");
        AppSoftware     = GameObject.Find("Applications");

        com           = SysSoftware.GetComponent <Computer>();
        def           = SysSoftware.GetComponent <Defalt>();
        windowRect.x  = Customize.cust.windowx[windowID];
        windowRect.y  = Customize.cust.windowy[windowID];
        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;
    }
コード例 #25
0
 void WebSearch()
 {
     ib     = AppsSoftware.GetComponent <InternetBrowser>();
     misgen = Missions.GetComponent <MissionGen>();
     ep     = Prompts.GetComponent <ErrorProm>();
     upg    = Computer.GetComponent <Upgrade>();
     defalt = SysSoftware.GetComponent <Defalt>();
     pp     = Prompts.GetComponent <PurchasePrompt>();
     prog   = HackingSoftware.GetComponent <Progtive>();
     trace  = HackingSoftware.GetComponent <Tracer>();
     brow   = Missions.GetComponent <MissionBrow>();
     sm     = AppsSoftware.GetComponent <SystemMap>();
     dskman = SysSoftware.GetComponent <DiskMan>();
     fu     = SysSoftware.GetComponent <FileUtility>();
 }
コード例 #26
0
ファイル: AccLog.cs プロジェクト: MrLucas265/LakeNet
    //private Files files;
    // Use this for initialization
    void Start()
    {
        System       = GameObject.Find("System");
        com          = System.GetComponent <Computer>();
        def          = System.GetComponent <Defalt>();
        appman       = System.GetComponent <AppMan>();
        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        PosCheck();
        Menu          = "Main";
        SelectedLogin = "";
    }
コード例 #27
0
ファイル: Icon.cs プロジェクト: MrLucas265/LakeNet
    void Start()
    {
        windowID     = 50;
        SysSoftware  = GameObject.Find("System");
        com          = SysSoftware.GetComponent <Computer>();
        defalt       = SysSoftware.GetComponent <Defalt>();
        os           = SysSoftware.GetComponent <OS>();
        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        windowRect = new Rect(500, 350, 200, 200);
        Pos.width  = 50;
        Pos.height = 50;
    }
コード例 #28
0
ファイル: WinTour.cs プロジェクト: MrLucas265/LakeNet
 // Use this for initialization
 void Start()
 {
     Puter             = GameObject.Find("System");
     com               = Puter.GetComponent <Computer>();
     def               = Puter.GetComponent <Defalt>();
     sc                = Puter.GetComponent <SoundControl>();
     desk              = Puter.GetComponent <Desktop>();
     native_height     = Customize.cust.native_height;
     native_width      = Customize.cust.native_width;
     CloseButton       = new Rect(378, 1, 21, 21);
     windowRect        = new Rect(100, 100, 400, 300);
     MouseSpeed        = 1f;
     VMouse            = new Rect(0, 0, 16, 16);
     AppMenuRect       = new Rect(5, 150, 80, 120);
     ProgramAppRect    = new Rect(5, 170, 60, 20);
     ProgramWindowRect = new Rect(100, 100, 100, 100);
     IconPos();
 }
コード例 #29
0
ファイル: RevaTest.cs プロジェクト: MrLucas265/LakeNet
 void WebSearch()
 {
     // APPLICATIONS
     ws = Applications.GetComponent <WebSec>();
     sm = Applications.GetComponent <SystemMap>();
     tr = Applications.GetComponent <TextReader>();
     ib = Applications.GetComponent <InternetBrowser>();
     // PROMPTS
     ep = Prompts.GetComponent <ErrorProm>();
     // HACKING
     trace = Hacking.GetComponent <Tracer>();
     prog  = Hacking.GetComponent <Progtive>();
     // SYSTEM
     com  = System.GetComponent <Computer>();
     def  = System.GetComponent <Defalt>();
     pl   = System.GetComponent <PasswordList>();
     clic = System.GetComponent <CLICommandsV2>();
 }
コード例 #30
0
    void Start()
    {
        SysSoftware     = GameObject.Find("System");
        AppSoftware     = GameObject.Find("Applications");
        HackingSoftware = GameObject.Find("Hacking");

        com  = SysSoftware.GetComponent <Computer>();
        ib   = AppSoftware.GetComponent <InternetBrowser>();
        note = AppSoftware.GetComponent <Notepad>();
        prog = HackingSoftware.GetComponent <Progtive>();
        al   = SysSoftware.GetComponent <AccLog>();

        trace = HackingSoftware.GetComponent <Tracer>();

        cy      = SysSoftware.GetComponent <Descy>();
        ds      = SysSoftware.GetComponent <DirSearch>();
        tv      = SysSoftware.GetComponent <TreeView>();
        al      = AppSoftware.GetComponent <AccLog>();
        cmd     = SysSoftware.GetComponent <CLI>();
        sm      = AppSoftware.GetComponent <SystemMap>();
        clk     = SysSoftware.GetComponent <Clock>();
        defalt  = SysSoftware.GetComponent <Defalt>();
        sc      = SysSoftware.GetComponent <SoundControl>();
        appmenu = SysSoftware.GetComponent <AppMenu>();
        appman  = SysSoftware.GetComponent <AppMan>();

        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        UpdateUI();
        if (GameControl.control.QuickProgramList.Count < 1)
        {
            Test();
        }

        X     = 700;
        Speed = 3;

        windowID = appmenu.windowID;
    }