示例#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);
        }
示例#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;
 }