Ejemplo n.º 1
0
 public ShipLogFactSaveMessage(ShipLogFactSave save)
 {
     _id            = save.id;
     _revealOrder   = save.revealOrder;
     _read          = save.read;
     _newlyRevealed = save.newlyRevealed;
 }
Ejemplo n.º 2
0
        public override void OnReceiveRemote()
        {
            var save = PlayerData.GetShipLogFactSave(_id);

            if (save == null)
            {
                save = new ShipLogFactSave(_id);
                PlayerData.AddShipLogFactSave(save);
            }

            save.revealOrder   = _revealOrder;
            save.read          = _read;
            save.newlyRevealed = _newlyRevealed;
        }