示例#1
0
        public ObjectGuid AddToSimulatorSID()
        {
            if (IsOpenDGSInstalled)
            {
                return(Simulator.AddObject(this));
            }
            else
            {
                //NonRandom = true;

                var objectid = new ObjectGuid(NonOpenDGSIDSID);
                NonOpenDGSIDSID += 0x10;
                //CurrentTaskID = objectid;
                return(Simulator.AddObjectWithId(this, objectid));
            }
        }