Ejemplo n.º 1
0
        public void SetUserShipName(JournalSetUserShipName e)
        {
            ShipInformation sm = EnsureShip(e.ShipID);            // this either gets current ship or makes a new one.

            Ships[e.ShipID] = sm.Set(e.Ship, e.ShipFD, e.ShipName, e.ShipIdent);
            currentid       = e.ShipID;     // must be in it to do this
        }
Ejemplo n.º 2
0
        public void SetUserShipName(JournalSetUserShipName e)
        {
            string sid = Key(e.ShipFD, e.ShipID);

            ShipInformation sm = EnsureShip(sid);                           // this either gets current ship or makes a new one.

            Ships[sid] = sm.Set(e.Ship, e.ShipFD, e.ShipName, e.ShipIdent); // will clone if data changed..
            currentid  = sid;                                               // must be in it to do this
        }