public object Clone() { return(new LockDefinition { KerbalName = KerbalName.Clone() as string, PlayerName = PlayerName.Clone() as string, VesselId = VesselId, Type = Type }); }
public int GetByteCount() { return(PlayerName.GetByteCount() + KerbalName.GetByteCount() + GuidUtil.ByteSize + sizeof(LockType)); }