Ejemplo n.º 1
0
        public ObjectID GetObjectID(string ident)
        {
            GameObj obj = GetObjectByIdent(ident);

            if (obj == null)
            {
                return(ObjectID.zero);
            }

            return(obj.GetObjId());
        }
Ejemplo n.º 2
0
        public ObjectID GetObjectID(ObjectID ident)
        {
            GameObj obj = GetObjectByIdent(ident);

            if (obj == null)
            {
                return(new ObjectID());
            }

            return(obj.GetObjId());
        }