~ruther/NosTale-Gfless

NosTale-Gfless/NosTaleGfless/NostaleProcess.cs -rw-r--r-- 683 bytes
4f5eef52 — František Boháček chore: add license 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Diagnostics;
using NostaleAuth.Models;

namespace NosTaleGfless
{
    public class NostaleProcess
    {
        public NostaleProcess(Process process, GameforgeAccount account)
        {
            Account = account;
            Process = process;
        }
        
        public Process Process { get; }

        public int ProcessId => Process.Id;
        
        public string SessionToken { get; set; }
        
        public GameforgeAccount Account { get; }
        
        public Guid? SessionId { get; internal set; }
        
        public bool Initialized { get; internal set; }

        public bool HasExited => Process.HasExited;
    }
}
Do not follow this link