Esempio n. 1
0
        /// <summary>
        ///     This function instantiates a Chatlog object
        /// </summary>
        /// <returns>Chatlog instance</returns>
        public static Chatlog getInstance()
        {
            IntPtr pointer = MemoryHandler.Instance.ResolvePointerPath(Constants.CHATPTR);
            var    c       = new Chatlog(MemoryHandler.Instance.CreateStructFromAddress <Chatlog.CHATLOGINFO>(pointer), pointer);

            return(c);
        }
Esempio n. 2
0
 /// <summary>
 ///     This function instantiates a Chatlog object
 /// </summary>
 /// <returns>Chatlog instance</returns>
 public static Chatlog getInstance()
 {
     IntPtr pointer = MemoryHandler.Instance.ResolvePointerPath(Constants.CHATPTR);
     var c = new Chatlog(MemoryHandler.Instance.CreateStructFromAddress<Chatlog.CHATLOGINFO>(pointer), pointer);
     return c;
 }